February 19, 2011

I [Heart] Unix

Maybe this should be titled I [Heart] Shell”, but it seems more fitting to lay praise at Unix. Sometimes you do something on the prompt and you just look and think Wow, that would be crazy hard on any other platform!”.

jamie-mbp% while true;
do (date; netstat -n | grep | awk '{print $6}' | sort | uniq -c; sleep 300;);

I was debugging a problem with leaking network connections to a host and needed to see what was going on, checking in every 5 minutes.


Previous post
First Run with Chemex Tammy surprised me with a Chemex Coffeemaker for Valentine’s Day. I brewed a batch of coffee with it for the first time today and it was great. So
Next post
New Standards at Lantern Festival Gala One of our favorite bands, The New Standards, announced they were playing at the Lantern Festival Gala for Yinghua Academy. Yinghua is a Chinese