Archive

Posts Tagged ‘Shell’

SSH Keep-Alive for Mac OS X

May 7th, 2009

I discovered a while back that my SSH sessions weren’t staying active despite having the appropriate settings in /etc/ssh/ssh_config.

The other day, I found an article on Google with another way to get keep-alives working – luckily this seems to have worked.

Read more…

Nick Other ,

Shell Line Count

April 23rd, 2009

I found this useful page for counting lines in projects that I work on.

There are a couple of different techniques there, but I personally use the following:

find . -type f -name '*.php' | xargs wc -l

Nick Development