如何从bash中删除名为“ -p”的文件?


Answers:



2

NOTE手册页中的部分rm对此有确切的说明。除了Ignacio Vazquez-Abrams在回答中提到的内容外,如手册页中所述,删除此类文件的另一种方法是使用绝对路径引用,例如:rm /home/user/-p

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.