useful commands

colorize your dmesg output:
dmesg -T|sed -e 's|(^.*'`date +%Y`'])(.*)|x1b[0;34m1x1b[0m - 2|g'


sort files in multiple directories by date:
find . -type f -exec ls -l --full-time {} + | sort -k 6,7


find files changed between two dates:
find . -cnewer -and ! -cnewer


remove unused kernels with apt:
aptitude remove $(dpkg -l|egrep '^ii linux-(im|he)'|awk '{print $2}'|grep -v `uname -r`)


checking details of a http url you call
curl -iv url


persistant connection to remote server via screen
s() { screen -d -RR -m -S "$1" -t "$USER"@"$1" ssh "$1"; }


list directories recursevly showing its sizes in human readable form:
ls -lhR | grep -e "total|:$"