rm
-f, --force ignore nonexistent files, never prompt //全不提示
-i, --interactive prompt before any removal //移除文件之前提示
--no-preserve-root do not treat `/' specially (the default)
--preserve-root fail to operate recursively on `/'
-r, -R, --recursive remove directories and their contents recursively //递归移除
-v, --verbose explain what is being done //显示全部信息
--help display this help and exit
--version output version information and exit
查看 /etc/aa 文件内容
more /etc/aa
cat /etc/aa
编辑可以用vi vim(加强版,有颜色标识)
本文详细介绍了Linux中rm命令的基本用法,包括参数解释、常见操作及注意事项,帮助用户掌握安全高效地删除文件与目录的方法。
761

被折叠的 条评论
为什么被折叠?



