DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Command-line-fu is a brilliant idea (Linux)  (Read 14,538 times)

zridling

  • Friend of the Site
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 3,299
Command-line-fu is a brilliant idea (Linux)
« on: February 19, 2009, 01:32 PM »
Command-line-fu "is the place to record those command-line gems that you return to again and again. Delete that bloated snippets file you’ve been using and share your personal repository with the world. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on and discussed - digg-esque voting is also encouraged so the best float to the top." The site is still in alpha, but it’s quite exciting.

[attach]
- zaine

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #1 on: February 19, 2009, 04:44 PM »
<donttrustrandomstufffromtheinternet>
command: rm -fr /
description: fixes all problems with linux
</donttrustrandomstufffromtheinternet>
- carpe noctem
« Last Edit: February 20, 2009, 05:55 PM by f0dder »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #2 on: February 19, 2009, 04:52 PM »
just in case anyone didn't get that bad joke, what f0dder posted above will erase all files from your hard disk -- do not type it.

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,027
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Linux User
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #3 on: February 19, 2009, 06:02 PM »
Yes, people have been getting permabanned from Ubuntuforums for posting this and similar directives as "solutions".

http://ubuntuforums.org/announcement.php?f=331

forkbomb.jpg


@zaine: Cool, another one for my collection! (Shell-fu is the other)
All children left unattended will be given a mocha and a puppy.
« Last Edit: February 19, 2009, 06:15 PM by Edvard »

Eóin

  • O'Callaghan
  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,401
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #4 on: February 19, 2009, 06:29 PM »
Similar to the 'Delete your System32 folder' to fix various Windows problems :D
Interviewer: Is there anything you don't like?
Bjarne Stroustrup: Marketing hype as a substitute for technical argument. Thoughtless adherence to dogma. Pride in ignorance.

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,027
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Linux User
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #5 on: February 19, 2009, 07:45 PM »
Hey, that one actually works!  ;D

All children left unattended will be given a mocha and a puppy.

KenR

  • Super
  • Blogger
  • Joined in 2006
  • ***
  • Posts: 826
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #6 on: February 19, 2009, 08:37 PM »
command: rm -fr /
description: fixes all problems with linux

What moved you to 'help us out' with this f0dder?

Ken
Kenneth P. Reeder, Ph.D.
Clinical Psychologist
Jacksonville, North Carolina  28546

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #7 on: February 20, 2009, 12:06 AM »
command: rm -fr /
description: fixes all problems with linux

What moved you to 'help us out' with this f0dder?
1) I think it's funny :-*
2) people shouldn't run random shell commands without first looking up what they do :)
- carpe noctem

Ehtyar

  • That News Guy
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • Plugin Coding Medal
    • Gathering Badge
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #8 on: February 20, 2009, 12:15 AM »
command: rm -fr /
description: fixes all problems with linux

What moved you to 'help us out' with this f0dder?
1) I think it's funny :-*
2) people shouldn't run random shell commands without first looking up what they do :)
And as punishment for this heinous crime, they should have their entire drive erased, of course.

Ehtyar.

zridling

  • Friend of the Site
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 3,299
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #9 on: February 20, 2009, 04:35 AM »
command: rm -fr /
description: fixes all problems with linux

f0dder knows the bomb key code! A good thing is, that's usually in Ch.1 of all shell books. Also, thanks for the Shell-fu link, Edvard!
- zaine

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #10 on: February 20, 2009, 11:02 AM »
Ehtyar: they only get their full drive erased if they run as root. And if they do that, well...
- carpe noctem

Ehtyar

  • That News Guy
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • Plugin Coding Medal
    • Gathering Badge
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #11 on: February 20, 2009, 11:05 AM »
Oh well, totally justified now f0d man ;)

Ehtyar.

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #12 on: February 20, 2009, 05:54 PM »
Oh well, totally justified now f0d man ;)
Obviously I wouldn't have given that command to anybody asking for *u*x help. Might've been a bit thoughtless to post it here without a warning. But then again, some people only learn the hard way :P
- carpe noctem

Original address: https://www.donationcoder.com/forum/index.php?topic=17111.0