The <i>sharing</i> command is new to desktops, but not new to OSX. I've used it in shell scripts on a Snow Leopard (10.6) server. (It's very useful if you are creating or updating the permissions for hundreds of shares at once. The manual method is brutal, as you can imagine.)<p>Checking the Apple man pages, they show documentation for it on 10.7.4 and for 10.4-intel[1], so it's been around on the servers for some time. (Also, the man pages still list it as a server-only command. Those may not have been updated yet for Mountain Lion.)<p>(If you're not already aware of them, Apple has a very full set of man pages online. The framed browsing style is a pain, but the pages are still great for scanning and finding new commands[2].)<p>[1] <a href="https://developer.apple.com/library/mac/#documentation/darwin/reference/manpages/man1/sharing.1.html" rel="nofollow">https://developer.apple.com/library/mac/#documentation/darwi...</a><p>[2]: <a href="https://developer.apple.com/library/mac/#documentation/darwin/reference/manpages" rel="nofollow">https://developer.apple.com/library/mac/#documentation/darwi...</a>
`caffeinate' seems to be a command-line ripoff of <a href="http://www.lightheadsw.com/caffeine/" rel="nofollow">http://www.lightheadsw.com/caffeine/</a>
Pgrep is super-cool.<p>Ex: What are all of the python subprocesses started by PID 1234? `pgrep -P 1234 python`<p>I've been missing it on osx for a long time.