grep如何同时匹配多个条件?
我经常要查询访问日志。按时间,IP,服务ID grep '10.1.136.199' monitor.kugou.com-access_log |grep '2017:14:18'| grep '\\x22server_id\\x22:126…
如何简化shell命令
cd \txt filelist=`ls` for file in $filelist do >temp.txt echo $file cat $file | uniq >> temp.txt >$file cat temp.txt >> $file done 如上面代…
- 共 1 页
- 1