Home>Topic List> How to delete a directory in LINUX

How to delete a directory in LINUX

LINUX can use rm and find to delete directories. Detailed introduction: 1. rm command, to delete a directory, you need to use the -r option, which means recursively deleting the directory and its contents; 2. -r option, the rmdir command can only delete empty directories if there are files or subdirectories in the directory. , the rmdir command will not be able to delete it.

Related courses More>
Intermediate Redis basic video course

23603 times of learning

Collection
Advanced ShangguanLinux advanced video tutorial

6955 times of learning

Collection
Related Tutorials More>
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!