若有一个文件的文件名为 : -testfile

删除方法为 : 输入“rm -testfile”或”rm ./-testfile”命令便可顺利删除名为“-testfile”的文件。

如果是其他特殊字符的话可以用双引号把整个文件名括起来

本文为我的工作总结,如有转载,请注明出处:http://www.cnblogs.com/chrdai/p/7261994.html

 

相关文章:

  • 2021-10-25
  • 2022-12-23
  • 2022-12-23
  • 2021-06-13
  • 2021-08-27
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-25
  • 2022-12-23
  • 2021-09-09
  • 2021-12-15
相关资源
相似解决方案