Linux
飞向蓝天2
这个作者很懒,什么都没留下…
展开
-
解决ubuntu Encountered a section with no Package: header错误
经过一番百度google试了下面的方法可用,没毛病解决E: Encountered a section with no Package: header错误 我的ubuntu机器上出现下面这个错误。 Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/ftp.sjtu....原创 2020-08-13 19:37:20 · 488 阅读 · 0 评论 -
find与grep组合命令
一、使用find与grep1. 查找所有".h"文件(非组合命令)find /PATH -name "*.h"2. 查找所有".h"文件中的含有"helloworld"字符串的文件(组合命令)find/PATH -name "*.h" -exec grep -in "helloworld" {} \;find /PATH -name "*.h" | xargs grep -i...原创 2019-04-09 09:08:20 · 5781 阅读 · 3 评论