【发布时间】:2016-05-09 09:05:06
【问题描述】:
我正在关注this Wikipedia example 以查找和删除文件。
[jalal@galapagos-04] (5)$ touch 'not important_file'
[jalal@galapagos-04] (6)$ touch important_file
[jalal@galapagos-04] (7)$ ls
agreement.txt cs_web johns.txt reverse_sorted_user.txt songs.txt users.txt*
awk_example.txt good_users.txt marks.txt sed_example.txt sorted_user.txt
cs.html important_file not\ important_file softlink/ test@
[jalal@galapagos-04] (8)$ find . -name not\* | tail -1 | xargs rm
rm: cannot remove `./not': No such file or directory
知道如何解决这个问题吗?
【问题讨论】:
-
请注意,
important_file现已消失!