This is a conversation my friend and I had.

Me: let me just delete this file
*rm -rf filename*

Frnd: what does the rf do?

Me: Don't know man I just do it coz the memes tell me to.

  • 13
    R is for recursive. It means that it will delete everything under the path you specify. It's only intended for deleting directories.

    F is for force. It carries out the delete operation without making the user confirm with a yes/no dialogue.
  • 1
    I always go with rmdir first, just to make sure that whenever im deleting a (supposedly empty) directory I don't have to do rm -r :p
  • 2
    @bahua i just found it out when I wanted to post it. Thanks for the heads up.
  • 3
    I think this is the wrong community to tell that you run commands that you don’t understand. Also it can be very dangerous.
  • 2
    You're a terrible person. You're a bad @thevariableman. Bad.
  • 1
    This is so fucking funny, I gotta agree with jase on this one!
Add Comment