Subscribe

Archive for the 'unix' Category

Pipe Directories Over SSH

My good friend Jayk showed me this nifty trick years ago for moving directories over ssh:

From a local directory to a remote directory:

tar -zcf - . | ssh name@host “tar -zvxf - -C <destination directory>”

From a remote directory to a local directory:

ssh name@host “tar -zcf - -C <source directory> .” | tar -zvxf -

This […]

The Unix Haters Handbook

The Unix Haters Handbook was making the rounds on reddit recently. I’ve had it open in a tab and have been occasionaly reading a chapter. I find it very humorous and it’s good to reality check things you take as fact day-to-day. I can agree with a lot of the feelings expressed in the handbook, […]

Exploring ‘Load-Average’

This is the best exploration of unix ‘load-average‘ that I have ever read. Most commonly in my experience it has been used as a rough metric based on machine quality of load, which is to say, almost completely worthless metric. The basic idea is that it is a running average of the CPU run queue […]