Linux common commands-11: rmdir
The function of the rmdir command is to delete empty directories, and only empty directories can be deleted. Generally rarely used, directly use rm instead Syntax format: rmdir [parameter] [directory name] Common parameters: Example # 删除空目录dir rmdir dir # 递归删除,与rm -rf test1 作用相同rmdir -p test1/test2/test3 This article is reprinted from https://xugaoxiang.com/2022/06/03/linux-cmds-11-rmdir/ This site is for […]
Linux common commands-11: rmdir Read More »