一个不好删除的文件

[root@localhost ~]$ mkdir It's none of your business
>
'
[rooti@localhost ~]$ ll                              
total 20
drwxrwxr-x   2 pushaowei pushaowei 4096 Dec 12 03:02 Its none of your business??
-rwxrwxrwx.  1 pushaowei pushaowei  455 Dec 11 12:49 debug
drwxr-xr-x. 11 pushaowei pushaowei 4096 Sep 28 08:26 nginx
drwxrwxr-x   2 pushaowei pushaowei 4096 Dec 11 04:38 tools
drwxrwxr-x. 17 pushaowei pushaowei 4096 Nov 29 13:03 webroot

[root@localhost ~]$ ll                              
total 20
drwxrwxr-x   2 pushaowei pushaowei 4096 Dec 12 03:02 Its none of your business??
-rwxrwxrwx.  1 pushaowei pushaowei  455 Dec 11 12:49 debug
drwxr-xr-x. 11 pushaowei pushaowei 4096 Sep 28 08:26 nginx
drwxrwxr-x   2 pushaowei pushaowei 4096 Dec 11 04:38 tools
drwxrwxr-x. 17 pushaowei pushaowei 4096 Nov 29 13:03 webroot
[root@localhost ~]$ rm -f Its\ none\ of\ your\ business 
[root@localhost ~]$ ll
total 20
drwxrwxr-x   2 pushaowei pushaowei 4096 Dec 12 03:02 Its none of your business??
-rwxrwxrwx.  1 pushaowei pushaowei  455 Dec 11 12:49 debug
drwxr-xr-x. 11 pushaowei pushaowei 4096 Sep 28 08:26 nginx
drwxrwxr-x   2 pushaowei pushaowei 4096 Dec 11 04:38 tools
drwxrwxr-x. 17 pushaowei pushaowei 4096 Nov 29 13:03 webroot
阅读 3.4k
5 个回答

输入rm -f ./Its之后按TAB键让操作系统帮你补全,之后回车就删除了。

rm -rf ./It*

rm -r Its\ none\ of\ your\ business

rm -rf "Its none of your business??"

rm -rf ./I

然后按tab补全

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题