Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 

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

4 posts in this topic

Recommended Posts

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..

Share this post

Link to post
Share on other sites

-R Attempts to remove the directory including all of it's eventual subtrees and files.


Now what is -rf ?

Share this post

Link to post
Share on other sites

-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.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.