find
List Distinct IPs on Your Apache Access Log
If you ever need to look at the IPs on your access_log at some point here is a quick reference.
cat access_log|awk '{print $1}'|sort|uniq -c
This will list all IP, sort them ascending and count their occurrence and prepend that count for each IP found.
Find Large Files using `find` Command
Oftentimes you will be maintaining disk space on your servers or nearing your account’s disk space quota. Quickly you want to know which files are taking up your disk space, here’s a quick rundown to find files greater than 10MB.
find . -type f -size +10240k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
This will find files from your current working directory and list them alongside their corresponding sizes.