Delete directory Folder




Delete the test directory:

# rm -Rf test/

Because this example uses the –f option, there is no confirmation and the directory
is just deleted. Here’s one thing you need to make a note of: You must use the –R
option to delete directories.