Friday, November 23, 2012

Find space usage under root /


On Linux you can easily remount the whole root partition (or any other partition for that matter) to another place in you filesystem say /mnt for example, just issue a
mount -o bind / /mnt
then you can do a
du -h /mnt
and see what uses up your space.

rsync with delete option and different ssh port

How to rsync e.g PIPELINE dir from Source to Destination? #rsync -avzr   --delete-before  -e "ssh -p $portNumber"  /local...