摘要:How to update locate database?There is the solution:$ sudo updatedb 阅读全文
posted @ 2012-10-20 10:22 UniMouS 阅读 (197) 评论 (0) 编辑
摘要:How to grep a string that do no cantain another substring?There is the solution:$ ls | grep -ivE 'unimous'Here is a practical example of using it. If you want to find all the files with names containing 'wireshark' and without 'unimous', and then delete all of them:$ sudo upd 阅读全文
posted @ 2012-10-20 10:20 UniMouS 阅读 (188) 评论 (0) 编辑
摘要:How to pipe some file names to rm, here is the solution:$ ls | xargs rm 阅读全文
posted @ 2012-10-20 10:18 UniMouS 阅读 (121) 评论 (0) 编辑

版权所有 © 2011-2012 方一曙

Copyright © 2011-2012 Fang Yishu (UniMouS)