rm 删除 remove
[root@rstx-53 test]# rm file
rm: remove regular empty file ‘file’? n
[root@rstx-53 test]# fm -f file
-bash: fm: command not found
[root@rstx-53 test]# rm -f file
[root@rstx-53 test]# \rm file
[root@rstx-53 test]# mkdir test/test/test -p
[root@rstx-53 test]# rm -f test/
rm: cannot remove ‘test/’: Is a directory
[root@rstx-53 test]# rm -rf test/
[root@rstx-53 test]#
原文:https://www.cnblogs.com/yangtao416/p/14452049.html