Linux操作系统基本操作

gcxiang / 2023-07-30 / 原文

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

grep err *  -r > error.txt    将搜索的结果保存至error.txt中

grep error  <  vcs.log        搜索vcs.log文件中的error