News for hackers. Stuff that matters.
Re:Show HN: Swiss Army Knife for Mac OS X by legulere on Friday July 15, 2016 @01:19AM (#12099090)
That something like this exists shows some problems with the unix shell: No standardized commands exist for many common actions (sleep, wifi, etc). The syntax is different across commands even on a single system.

It's really nice, but I'd like to see something like that as a standard in shells.

Re:Show HN: Swiss Army Knife for Mac OS X by Scarbutt on Friday July 15, 2016 @02:41AM (#12099287)
I don't know, CLI commands in os x are much worse than in linux, want to display wifi info?

$/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I

lots of useful commands like that are not in your path by default, that said, at least os x lets you modify almost any part of the system with shell commands.

Re:Show HN: Swiss Army Knife for Mac OS X by SG- on Friday July 15, 2016 @05:19AM (#12099736)
which airport

/usr/local/bin/airport

Re:Show HN: Swiss Army Knife for Mac OS X by danbee on Friday July 15, 2016 @08:32AM (#12100491)
Tried that on my Mac

$ which airport

airport not found

Re:Show HN: Swiss Army Knife for Mac OS X by Alphasite_ on Friday July 15, 2016 @01:30PM (#12102554)
It's not linked by default.