摘要:
How to update locate database?There is the solution:$ sudo updatedb 阅读全文
摘要:
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 阅读全文
摘要:
How to pipe some file names to rm, here is the solution:$ ls | xargs rm 阅读全文