[Linux Commands] linux command #linux #commands
grep keyword /var/spool/cron/root | egrep -v ^# | grep -v ^$ | awk '{print $1,$2,$3,$4,$5,$8}'cat netstat.log.5 | awk '$4 ~ /:80$/ {c++;print $5 | "sed 's/::ffff://' | sed 's/:.*$//'| sort | uniq -c | sort -n | tail -n 10"} END {print c}'netstat -plantu | grep -c :1433ifconfig eth0tail -20 /var/log/httpd/error_loggrep -i maxclients /etc/httpd/conf/httpd.confcat /etc/my.cnf | grep cache -i | grep -v ^#grep "^|" queries-pre-restart.txt | awk '{ print $14 }' | sort | uniq -c | sort -nrmkdir -p www/public_html Will make directory at nested level (it will create both directory)