AppleInsider › Forums › General › Genius Bar › Mapping GUI tools to CLI
New Posts  All Forums:Forum Nav:

Mapping GUI tools to CLI

post #1 of 4
Thread Starter 
Does anyone know of a good resource for finding CLI equivalents to GUI tools?

Such as:

System Preferences -> Network : networksetup
Almost all app preferences: defaults
Disk Utility: fsck/[hfs,ufs].util/etc

Specifically, I'm looking for a CLI version of Apple System Profiler, perhaps a bit more friendly to use than ioreg.
My brain is hung like a HORSE!
Reply
My brain is hung like a HORSE!
Reply
post #2 of 4
Actually, open up Terminal and enter the command "AppleSystemProfiler".

It'll launch ASP in the background, close it, and then print output to the Terminal. You can pipe it into other tools or into a file or whatever else you want.
post #3 of 4
Thread Starter 
Oh you have *GOT* to be kidding me.

Okay, will it work over ssh, with no remote GUI running?

Jeez, and here *I* was looking through the man pages. Silly me. *sigh*
My brain is hung like a HORSE!
Reply
My brain is hung like a HORSE!
Reply
post #4 of 4
dmesg will also return similar output.

Dobby.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Genius Bar
AppleInsider › Forums › General › Genius Bar › Mapping GUI tools to CLI