Jump to content

Difference btw sodu rm -rf and sudo rm -R commands

sudo command remove delete

  • Please log in to reply
3 replies to this topic

#1
end47

end47

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
  • Gender:Male
Can anybody please explain to me the Difference between sodu rm -rf and sudo rm -R commands used for deleting files. The -rf and -R is the confusing part for me.

Thank You in advance..

#2
end47

end47

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
  • Gender:Male
-R Attempts to remove the directory including all of it's eventual subtrees and files.

Now what is -rf ?

#3
mattiL

mattiL

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 posts
-r = Recursive, same as -R
-f = Force, do not ask questions, just do it.

#4
Rebound

Rebound

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts
-f = Force, you better be sure you know you want those files gone. It won't prompt or warn you no matter what or how much you're deleting. So an rm -rf command will delete a directory and everything beneath it, without warnings or prompts. Its probably the best all-purpose, mess up your computer command there is. Be absolutely triple certain before you use it.

But I don't know what sodu is. Never heard of sodu.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy