Remove empty directorys using find and exec

find -depth -type d -empty -exec rmdir {} \;

Volltextsuche in der Commandline:

rgrep -i begriff /verzeichnis/*

mount ansgars nfs share to my local filesystem via /etc/fstab /media/ansgar nfs   rsize=8192,wsize=8192,timeo=14,intr

add git origin to repository

git remote add origin git@frigg:home.git
git remote add nhn

set the systemtime with ntpdate

ntpdate -v

view svn diffs in vim with coloured output:

svn diff -c 12345 | view -

Encrypt your home directory

sudo apt-get install ecryptfs-utils
sudo apt-get install lsof
sudo ecryptfs-migrate-home -u USERNAME