What does the -rf option on the rm command mean?


I know the -r option means ‘recursive’ but I don’t remember seeing this, can’t seem to find in the glossary also.

Thanks for any help.


well, like you say, -r means recursive. You can check the man pages? In the command line, run: man rm. Man is short for manual. In short, recursive allows you to remove a directory, with all its sub directory’s.

-f stands for force, some files are protected, force will force you will and remove the protected files


Ok, thanks a lot, I’ll look into it further later on.

Once again, thank you.