Not sure if it is a 'gem' but it certainly is useful:
tail -10000 somelogfile | cut -d ' ' -f 1 | sort | uniq -c | sort -n | tail
Quick one liner to get a fix on who is currently messing with your server in ways that are 'counter-productive', also a nice way to show newcomers to unix how you can string together existing unix commands to create new ones on the fly.
As for start-up advice that would fit in one line:
A practical, bug ridden, bad implementation of something trumps a theoretical, perfect implementation of the same thing.