Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 8 down vote accepted


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

Your Answer


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.