常用shell命令
grep 排除多个
grep -v 'mmm\|nnn' abc.txt
$ tail -f /data/app/nginx/logs/access.log |awk -F "|" '{print $1,$3,$5,$14,$NF,$12}' |grep -v '200\|socket'
cat /etc/zabbix/zabbix_agentd.conf | grep -Ev "^$|^[#;]"
find
时间 文件 find /home/backup/ -mtime +90 -type f -exec rm {} \; 层级 目录 find /home/backup/nodejs_71/* -maxdepth 1 -type d -exec rm -rf {} \;