Sunday 19 October 2014

Linux OS command to remove/delete directory and all its contents


rm -rf <DirectoryName>


This command will remove a directory and its contents without prompting you to make sure you want to delete each file in the directory. Substitute <DirectoryName> with the actual directory name.

No comments:

Post a Comment