Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Just be careful with that command, as one little slip can destroy everything if you're doing it as root. The options given to rm tell it to delete all files and directories within directories recursively and force deletion even when you'd normally get a warning. If you type the wrong thing to delete, your system can easily be gone.
Note that -r = recursive and -f = force(!), which may be required, depending on the file ownerships/perms at the time.
As warned above, a relatively simple typo can remove more than you want or even the entire system.... It has really been happened to people.
Try not to use root when doing that, it should only be required if the files are owned by root.