To remove a directory that contains other files or directories, use the following command. For example, if the directory was named "files", you would type rm -r files at the prompt.
2 Likes
To remove a directory that contains other files or directories, use the following command. For example, if the directory was named "files", you would type rm -r files at the prompt.