Select Page

To remove all directories and subdirectories use the rm command. For example, remove all sub-directories and files inside “ampps” directory, type the following command (warning all files including subdirectories will be deleted permanently):

$ rm -rf ampps/