小编Ale*_*lex的帖子

删除以一组 shell 响应字符命名的 linux 文件

我创建了一个名为\;:$"\'测试我的软件的文件。我最终出现错误,因为我无法删除文件属性。我试图找到一个精确的字符组合来通过 删除它rm,但我找不到方法。

rm \\;:$\"\\\'
rm: cannot remove `\\': No such file or directory

rm "\\"\;:$\"\\\'
rm: cannot remove `\\;:$"\\\'': No such file or directory

rm '\;:$"\'''
rm: cannot remove `\\;:$"\\': No such file or directory
Run Code Online (Sandbox Code Playgroud)

(这最后一次尝试杀死了我)

以及许多其他尝试。需要伸出援助之手!

linux bash shell sh parsing

7
推荐指数
2
解决办法
1186
查看次数

标签 统计

bash ×1

linux ×1

parsing ×1

sh ×1

shell ×1