Mapping GUI tools to CLI

Posted:
in Genius Bar edited January 2014
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.

Comments

  • Reply 1 of 3
    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.
  • Reply 2 of 3
    kickahakickaha Posts: 8,760member
    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*
  • Reply 3 of 3
    dobbydobby Posts: 797member
    dmesg will also return similar output.



    Dobby.
Sign In or Register to comment.