Sunday, 6 June 2010

How do I remove all directories, sub directories & files in Linux

To remove all directories and subdirectories use rm command. For example remove the directory, remove me, as well as all subdirectories and files, type the following command:

# rm -rf removeme/

** removeme is the name of the folder you are looking to nuke.

No comments:

Post a Comment