linux 中文件以横杠开头导致无法删除怎么办
一个文件 命令为 -e【空格】用rm 命令删除的时候会显示
$ rm -f '-e '
rm: illegal option -- e
rm: illegal option --
怎么样才能删除这个文件 回复 1# blue_xiaolu rm -v -- '-e ' 回复 2# 井蛙夏虫
删除了 谢谢! To remove a file whose name starts with a ‘-’, for example ‘-foo’, use one of these commands:
rm -- -foo
rm ./-foo 回复 4# linux_c_py_php
娘炮,哈哈
页:
[1]