avatar
how to delete #***# file?# Unix - 噫吁兮,危乎高哉
h*e
1
I don't know how the system generated it. But whenever I want to rm this file,
say rm #test#, it shows me a message as follows:"
Usage: rm [-Rfir] file ...
"
Could anybody please help me out? Thank you.
avatar
x*g
2
try rm -- #test#
or rm -- \#test\#
# is a special character, so you have to quote it
or use -- to tell rm to not interprete it as a command line
option.

【在 h****e 的大作中提到】
: I don't know how the system generated it. But whenever I want to rm this file,
: say rm #test#, it shows me a message as follows:"
: Usage: rm [-Rfir] file ...
: "
: Could anybody please help me out? Thank you.

avatar
p*f
3
does #test# look like a command option?
rm \#test\#

【在 x*****g 的大作中提到】
: try rm -- #test#
: or rm -- \#test\#
: # is a special character, so you have to quote it
: or use -- to tell rm to not interprete it as a command line
: option.

avatar
p*r
4
rm "#test#"

file,

【在 h****e 的大作中提到】
: I don't know how the system generated it. But whenever I want to rm this file,
: say rm #test#, it shows me a message as follows:"
: Usage: rm [-Rfir] file ...
: "
: Could anybody please help me out? Thank you.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。