替换/usr/bin/yum文件第一行的内容
grep 'python' yum |sed 's/python/python.tay/g'
查看/var/log/httpd/access_log日志,每个属性单独显示一行
tail -n 1 access_log |awk '{for(i=1;i<=100;i++){print $i}}'|grep -n '.\+'
========================================
替换/usr/bin/yum文件第一行的内容
grep 'python' yum |sed 's/python/python.tay/g'
查看/var/log/httpd/access_log日志,每个属性单独显示一行
tail -n 1 access_log |awk '{for(i=1;i<=100;i++){print $i}}'|grep -n '.\+'
========================================