Hacker News new | ask | show | jobs
by legulere 3628 days ago
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.

1 comments

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.

which airport

/usr/local/bin/airport

Tried that on my Mac

$ which airport

airport not found

It's not linked by default.