3

I can't seem to find how to open the network preferences from the Terminal. What Terminal command will open up the Network preferences window as if having gone by System Preferences > Network ?

10

Typing

open /System/Library/PreferencePanes/Network.prefPane/

works for me on Lion. You can substitute Network.prefPane for any of the preference panes in the PreferencePanes folder. This also switches to the correct pane even if System Preferences is already open.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .