Friday, June 10, 2011

Remove / Delete Directory and Its Contents in Linux

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.