关于linux下删除含有非法字符的文件
我不小心用tar生成了一个名叫 --help.tgz 的文件,请问有什么办法通过命令行删除它吗?
我的Linux没有图形界面的,谢谢。
[解决办法]
- Perl code
To remove a file whose name starts with a `-', for example `-foo',use one of these commands: rm -- -foo rm ./-foo
发布时间: 2012-05-09 12:13:59 作者: rapoo
关于linux下删除含有非法字符的文件
我不小心用tar生成了一个名叫 --help.tgz 的文件,请问有什么办法通过命令行删除它吗?
我的Linux没有图形界面的,谢谢。
[解决办法]
To remove a file whose name starts with a `-', for example `-foo',use one of these commands: rm -- -foo rm ./-foo