Linux指令篇:档案目录管理--rmdir
点击次数:10 次 发布日期:2008-11-29 14:41:43 作者:源代码网
|
源代码网推荐 源代码网推荐 名称:rmdir 源代码网推荐 源代码网推荐 使用权限:于目前目录有适当权限的所有使用者 源代码网推荐 源代码网推荐 使用方式: rmdir [-p] dirName 源代码网推荐 源代码网推荐 说明: 删除空的目录。 源代码网推荐 源代码网推荐 参数: -p 是当子目录被删除后使它也成为空目录的话,则顺便一并删除。 源代码网推荐 源代码网推荐 范例: 源代码网推荐 源代码网推荐 将工作目录下,名为 AAA 的子目录删除 : 源代码网推荐 rmdir AAA 源代码网推荐 源代码网推荐 在工作目录下的 BBB 目录中,删除名为 Test 的子目录。若 Test 删除后,BBB 目录成为空目录,则 BBB 亦予删除。 源代码网推荐 rmdir -p BBB/Test 源代码网推荐 源代码网推荐 源代码网推荐 源代码网推荐 源代码网推荐 源代码网供稿. |
