####Search for files being modified in the last 24hours
find . -mtime -1 -ls | grep .log | sort | more
####Search for content in a specifiy file extension
find com.genebio.nextprot.plugin.entry -name '*.groovy' | xargs grep -i "Missing"
####Sort directory sizes
du -h --max-depth=1 | sort -hr
####To paste in a file
cat > filname | paste | crtl + D
ssh user@host -f -L LOCALPORT:targethost:HOSTPORT -N
####Sniff HTTP packages
sudo tcpdump -A -s0 -ien0 port 80
####Find out which process is listening upon a port
netstat -tulpn | grep :9090
cat ~/.ssh/id_rsa.pub | ssh username@host "cat >> ~/.ssh/authorized_keys"