Page 1 of 3 123 LastLast
Results 1 to 15 of 32

Thread: Don't do this [Linux]

  1. #1
    Join Date
    15th January 2005 - 11:00
    Bike
    Zilch
    Location
    Dirty ol' Nappies
    Posts
    1,049

    Don't do this [Linux]

    sudo rm -rf /.

    I just had a friend tell me that he had to help a dude completely reinstall his whole computer due to the idiot typing this code. Just thought I'd share haha.

    Peace hath higher tests of manhood

    than battle ever knew.

  2. #2
    Join Date
    16th December 2007 - 12:29
    Bike
    2005 Triumph Speed Four
    Location
    Havelock North
    Posts
    1,235
    Quote Originally Posted by hXc View Post
    sudo rm -rf /.
    There are some people you just can't help
    Manawatu Tag-o-rama Website. Mowgli's score: 38


  3. #3
    Join Date
    15th January 2005 - 11:00
    Bike
    Zilch
    Location
    Dirty ol' Nappies
    Posts
    1,049
    Indeed. Silly people.

    For those users not understanding of Linux...it's just as class as inserting "My Computer" into "Recycle Bin."

    Peace hath higher tests of manhood

    than battle ever knew.

  4. #4
    Join Date
    13th April 2008 - 23:10
    Bike
    Ninja 250R and a S14 Silvia
    Location
    East Auck now
    Posts
    166
    Deltree c: used to be a good one to use on ya mates (i know there was some attribute you added to the end to bypass all the warnings but cant think of it off the top of my head

  5. #5
    Join Date
    21st September 2006 - 21:35
    Bike
    Kawasaki ZX1100 Turbo
    Location
    Auckland
    Posts
    3,100
    *types it in on work computer*
    "Speed has never killed anyone. Suddenly becoming stationary - that's what gets you."
    Jeremy Clarkson.

    Kawasaki 200mph Club

  6. #6
    Join Date
    13th April 2008 - 23:10
    Bike
    Ninja 250R and a S14 Silvia
    Location
    East Auck now
    Posts
    166
    I liked doing it on the show computers at harvey norman etc, then dissapearing like a ninja

    Have found it doesnt work on vista, which reminds me, time to go look up the command that replaced it

  7. #7
    Join Date
    14th September 2007 - 16:34
    Bike
    '18 DRZ400SM
    Location
    Wellington
    Posts
    2,116
    What exactly does it do?
    "It would be spiteful, to put jellyfish in a trifle."
    \m/ o.o \m/

  8. #8
    Join Date
    6th November 2007 - 10:56
    Bike
    2013 lil red tractor
    Location
    Upper Hutt
    Posts
    161
    Quote Originally Posted by Gubb View Post
    What exactly does it do?
    1. sudo rm -rf /.

    sudo gives root privileges (superuser) to the user (if its been set up)
    rm = remove
    / = root directory eg the whole system disk partition

    2. Deltree c:

    Does a similar thing in dos/windows - deletes the contents of the c: drive
    Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum immane mittam!

  9. #9
    Join Date
    28th April 2004 - 11:42
    Bike
    tedium
    Location
    earth
    Posts
    3,526
    Yawn. If they don't know even the basics of Linux then they shouldn't be using it (or at least they shouldn't have access to root)
    Quote Originally Posted by Kickha
    Fuck off, cheese has no place in pies
    Quote Originally Posted by Akzle
    i would could and can, put a fat fuck down with a bit of brass.

  10. #10
    Join Date
    14th September 2007 - 16:34
    Bike
    '18 DRZ400SM
    Location
    Wellington
    Posts
    2,116
    Quote Originally Posted by scracha View Post
    (or at least they shouldn't have access to root)
    Everyone deserves access to root.
    "It would be spiteful, to put jellyfish in a trifle."
    \m/ o.o \m/

  11. #11
    Join Date
    1st August 2007 - 21:17
    Bike
    None at the moment
    Location
    Cromwell
    Posts
    1,788
    any command starting with sudo should be treated with caution....linux is so much easier nowdays but reinstalling is a pain in the ass, especially codecs etc....


  12. #12
    Join Date
    24th September 2006 - 02:00
    Bike
    -
    Location
    -
    Posts
    4,736
    That's the point, innit, of having user accounts and not running as root all the time (like Windows/DOS/early Mac OS Classic used to do).

    Try and do something -- then if it says you don't have rights, do the sudo bit. But not before understanding the command first.

    The only time I've done something this stupid was with sudo's 5-minute period of not asking you for your password after entering it once. Combine that with bash's Ctrl-R history search (searching for `&&' -- trying to do a mpop && mail), and being very tired at 3am in the morning, meant I searched back one too many times and did a `sudo make install' in a directory that I shouldn't have. Stuff I was trying to keep local and clobbered a different version. Thankfully I usually keep the sources around.

  13. #13
    Join Date
    23rd March 2007 - 22:40
    Bike
    08R6 Race bike
    Location
    chch
    Posts
    2,025
    DEL *.*

    best ever.

  14. #14
    Join Date
    1st August 2007 - 21:17
    Bike
    None at the moment
    Location
    Cromwell
    Posts
    1,788
    the percentage of linux users has almost doubled in the last five years...is now nipping at the heels of mac users...i wonder why...it has improved so much compared to the way it was years ago, and become so much more user friendly


  15. #15
    Join Date
    7th March 2005 - 20:01
    Bike
    .
    Location
    .
    Posts
    193
    files can be undeleted.

    sudo dd if=/dev/urandom of=/dev/sda &
    (on the next line)
    clear (or ^L)

    this makes people wish they made backups
    www.southernrider.co.nz - come ride the southern roads with us

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •