Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Unix Cold blooded?

  1. #1
    Join Date
    Mar 2009
    Beans
    5

    Unix Cold blooded?

    So I'm in this unix class, which is helping me learn about linux and stuff too... And we went around mkdiring and touching... Making all these cute little files. I got to spend time with em--going around cding and stuff. catting all the outputs...

    But then came time to stop using the terminal... Then the horrible command rm -rf came about...

    Oh the horror. No "Are you sure" or "Won't you miss them?" prompts... I should have aliased to rm -i...

    It just felt so inhumane... A whole directory massacared. And all I see is the cold, hollow user$_

  2. #2
    Join Date
    Mar 2007
    Location
    $HOME (Washington State)
    Beans
    4,590

    Re: Unix Cold blooded?

    Just DON'T RUN rm -rf /* as it will kill your system.
    See my themes here! | Dont preach Linux, mention it | Make GNOME Themes
    I'm no longer on here. If you want to talk to me, go to noost.org.
    My DeviantArt | Linux user #461096 | Ubuntu user #15753

  3. #3
    Join Date
    Feb 2008
    Location
    Hamilton, Canada
    Beans
    Hidden!

    Re: Unix Cold blooded?

    The unix program "rm" does one thing, removing files, and it does it well. That's a core linux philosophy

    So rm assumes you know what the heck you're doing when you add the "f" switch.

  4. #4
    Join Date
    Sep 2007
    Location
    over there
    Beans
    2,521
    Distro
    Ubuntu

    Re: Unix Cold blooded?

    I agree with the OP. All commands that have the potential to be harmful should be removed from Linux forthwith.

    Also, only fluffy bunnies should be allowed as screensaver images. Why would anyone want something more vicious than a fluffy bunny on their display?
    "All people are scum. No matter what they look like." ~ Spider Jerusalem, Transmetropolitan #4



  5. #5
    Join Date
    Jun 2006
    Location
    The Netherlands
    Beans
    2,185
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Unix Cold blooded?

    Maybe they should replace the "-f" switch with something more elaborate. Like this:

    rm -r -yes-I-really-want-to-destroy-my-system-please-let-me-do-it *

    Ubuntu 12.04

  6. #6
    Join Date
    Sep 2008
    Location
    Aberdeenshire, Scotland
    Beans
    66

    Re: Unix Cold blooded?

    Quote Originally Posted by t0p View Post
    Why would anyone want something more vicious than a fluffy bunny on their display?
    Might I direct you here?

  7. #7
    Join Date
    Jan 2008
    Beans
    1,336

    Re: Unix Cold blooded?

    the #1 rule with unix commands

    RTFM!!

    if you would have read the man entry for rm you would have noticed what each of the flags does

    -r, -R, --recursive
    remove directories and their contents recursively

    -f, --force
    ignore nonexistent files, never prompt

  8. #8
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Unix Cold blooded?

    Quote Originally Posted by jespdj View Post
    Maybe they should replace the "-f" switch with something more elaborate. Like this:

    rm -r -yes-I-really-want-to-destroy-my-system-please-let-me-do-it *

    That would be quite funny

    I kind of miss the good old "glxgears --iacknowledgethatthistoolisnotabenchmark"

  9. #9
    Join Date
    Apr 2006
    Location
    Scotland
    Beans
    1,225
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Unix Cold blooded?

    Quote Originally Posted by smartboyathome View Post
    Just DON'T RUN rm -rf /* as it will kill your system.
    i tried it ages ago. it DOESN'T kill your system...

    ...until you reboot.

    although you won't be able to run any program that isn't cached in RAM after this command has done its dirty work.

  10. #10
    Join Date
    Oct 2008
    Location
    Scotland
    Beans
    67
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Unix Cold blooded?

    Quote Originally Posted by insane_alien View Post
    i tried it ages ago. it DOESN'T kill your system...

    ...until you reboot.

    although you won't be able to run any program that isn't cached in RAM after this command has done its dirty work.
    Did that to a EEE in John Lewis. That's what they get for not putting a passwd on sudo.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

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