Find, Grep, SED and AWK commands

grep -r --exclude-dir={proc,sys} '\- Server Name' 
grep -r --include='*.php' 'fping' ./ 
find . -type f -name '*.png'  
cat /var/log/yum.log | grep -E 'Installed|Updated' | sed 's/.*://g;s/ //g'  
ps -ef | grep -v " $$ .*grep " | grep httpd  
find . -type f -print0  | xargs -0 grep -Fil "librenms"   
find . -type f -name '*.sh' -delete
find . -type f -print0 | xargs -0 grep -l "port_bits"  
find ./ -type f | grep switch | xargs rm  
find ./ -type f | grep switch | xargs echo rm
find ./ -type f -print0 | xargs -0 -n1 md5sum | sort -k 1,32 | uniq -w 32 -d --all-repeated=separate | sed -e 's/^[0-9a-f]*\ *//;'  
find . -inum 4294 -delete  
yum history info brasero | grep -o '[^ ]*.x86_64[^ ]*\|[^ ]*noarch[^ ]*'
cat -n /var/log/cron | grep discovery.php | less
ls -lah | awk '{print $3 "  " $9}' > temp2

##ls -lah output:
drwxr-xr-x 10 apache apache  153 Sep 28 20:23 docs

##output piping ls -lah through awk '{print $3 "  " $9}'
apache  site