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
192.168.178.24:/media/usb/share /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 koptein@nohostname.de:git/home.git/
set the systemtime with ntpdate
ntpdate -v clock.isc.org
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