Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • October 17, 2017, 12:00 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

zridling

  • Friend of the Site
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 3,292
    • View Profile
    • Donate to Member
Command-line-fu is a brilliant idea (Linux)
« on: February 19, 2009, 07:32 AM »
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.

clfu1010.png

And if you like that site, you may also enjoy Snipt.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,100
    • View Profile
    • Donate to Member
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #1 on: February 19, 2009, 10:44 AM »
<donttrustrandomstufffromtheinternet>
command: rm -fr /
description: fixes all problems with linux
</donttrustrandomstufffromtheinternet>
« Last Edit: February 20, 2009, 11:55 AM by f0dder »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 37,485
    • View Profile
    • Donate to Member
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #2 on: February 19, 2009, 10:52 AM »
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: 2,921
    • View Profile
    • Donate to Member
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #3 on: February 19, 2009, 12:02 PM »
Yes, people have been getting permabanned from Ubuntuforums for posting this and similar directives as "solutions".

http://ubuntuforums....nouncement.php?f=331

forkbomb.jpg


@zaine: Cool, another one for my collection! (Shell-fu is the other)
« Last Edit: February 19, 2009, 12:15 PM by Edvard »

Eóin

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,401
    • View Profile
    • Donate to Member
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #4 on: February 19, 2009, 12:29 PM »
Similar to the 'Delete your System32 folder' to fix various Windows problems :D

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 2,921
    • View Profile
    • Donate to Member
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #5 on: February 19, 2009, 01:45 PM »
Hey, that one actually works!  ;D


KenR

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

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

Ken

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,100
    • View Profile
    • Donate to Member
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #7 on: February 19, 2009, 06:06 PM »
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 :)

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #8 on: February 19, 2009, 06:15 PM »
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,292
    • View Profile
    • Donate to Member
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #9 on: February 19, 2009, 10:35 PM »
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!

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,100
    • View Profile
    • Donate to Member
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #10 on: February 20, 2009, 05:02 AM »
Ehtyar: they only get their full drive erased if they run as root. And if they do that, well...

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #11 on: February 20, 2009, 05:05 AM »
Oh well, totally justified now f0d man ;)

Ehtyar.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,100
    • View Profile
    • Donate to Member
Re: Command-line-fu is a brilliant idea (Linux)
« Reply #12 on: February 20, 2009, 11:54 AM »
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