199 points · by telemachos · 14y ago · 22 comments
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.)
(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].)
[1] https://developer.apple.com/library/mac/#documentation/darwi...
[2]: https://developer.apple.com/library/mac/#documentation/darwi...
Win32 command line utilities aren't really related to the DOS APIs in any way.
That doesn't make the commands themselves "Unix commands", which would AFAIU, be described under the "Commands and Utilities" portion of the standard: http://www.opengroup.org/openbrand/register/cxm4.htm
The document containing these standards is not freely available online, but may be purchased: https://www2.opengroup.org/ogsys/jsp/publications/Publicatio...
Wikipedia lists a set of IEEE utilities which is pretty brief, and contains a number of largely obsolete standards (SCCS anyone?), comprising of 161 commands: https://en.wikipedia.org/wiki/List_of_Unix_utilities
Or are they just new OSX tools that happen to run from a shell?
But a unix program need not be available for every unix under the sun to still be a unix program.
The source code of caffeinate(8) is available at http://opensource.apple.com/source/PowerManagement/PowerMana...
Sometimes I leave command line programs running overnight then get annoyed when I find that my Mac went to sleep after an hour because I'd forgotten to adjust the power saving settings.
So running caffeinate -u <my command> will be very handy indeed