% networksetup -listlocations Automatic no-proxy % sudo networksetup -switchtolocation Automatic Password: found it!
networksetup(8) Mac OS X Manual Page
あと、メニューバーのリンゴからネットワーク環境でも切り替えられる
% networksetup -listlocations Automatic no-proxy % sudo networksetup -switchtolocation Automatic Password: found it!
networksetup(8) Mac OS X Manual Page
あと、メニューバーのリンゴからネットワーク環境でも切り替えられる