end47 Posted January 29, 2012 Share Posted January 29, 2012 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.. Link to comment Share on other sites More sharing options...
end47 Posted January 29, 2012 Author Share Posted January 29, 2012 -R Attempts to remove the directory including all of it's eventual subtrees and files. Now what is -rf ? Link to comment Share on other sites More sharing options...
mattiL Posted January 29, 2012 Share Posted January 29, 2012 -r = Recursive, same as -R -f = Force, do not ask questions, just do it. 1 Link to comment Share on other sites More sharing options...
Rebound Posted July 19, 2012 Share Posted July 19, 2012 -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. Link to comment Share on other sites More sharing options...
Recommended Posts