rm 删除 remove
绕过交互删除 -f
[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
递归删除目录文件 -rf
[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]#