Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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 ?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.