TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Interesting new Unix commands/binaries in OS X Mountain Lion

199 pointsby telemachosalmost 13 years ago

6 comments

telemachosalmost 13 years ago
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>
humpolecalmost 13 years ago
More like command-line commands. Isn't that a bit like calling Windows command-line utilities 'new DOS commands'?
评论 #4305809 未加载
veyronalmost 13 years ago
`caffeinate' seems to be a command-line ripoff of <a href="http://www.lightheadsw.com/caffeine/" rel="nofollow">http://www.lightheadsw.com/caffeine/</a>
评论 #4305605 未加载
评论 #4305874 未加载
评论 #4305573 未加载
评论 #4306851 未加载
rabidsnailalmost 13 years ago
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.
评论 #4305764 未加载
0x0almost 13 years ago
Is anyone else's Terminal.app crashing when trying to type "~" on an international keyboard layout?
amichailalmost 13 years ago
The enscript command is gone though.
评论 #4312885 未加载