0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Mac】システム設定をopenコマンドで表示する方法

Posted at

システム設定を表示

ターミナルからシステム設定を表示するには以下のコマンドを実行します。

open -a "System Settings"

または

open "/System/Applications/System Settings.app"

システム設定の「一般」パネルが表示されます。

特定のパネルを開く

以下のようにすると特定のパネルを指定して表示できます。

open "/System/Library/PreferencePanes/パネル.prefPane"

「外観」パネルを表示するには次のようになります。

open "/System/Library/PreferencePanes/Appearance.prefPane"

指定できるパネルの一覧はls /System/Library/PreferencePanes/で取得できます。

$ ls /System/Library/PreferencePanes/
Accounts.prefPane/                 Mouse.prefPane/
Appearance.prefPane/               Network.prefPane/
AppleIDPrefPane.prefPane/          Notifications.prefPane/
Battery.prefPane/                  Passwords.prefPane/
Bluetooth.prefPane/                PrintAndFax.prefPane/
ClassKitPreferencePane.prefPane/   PrintAndScan.prefPane/
ClassroomSettings.prefPane/        Profiles.prefPane/
DateAndTime.prefPane/              ScreenTime.prefPane/
DesktopScreenEffectsPref.prefPane/ Security.prefPane/
DigiHubDiscs.prefPane/             SharingPref.prefPane/
Displays.prefPane/                 SoftwareUpdate.prefPane/
Dock.prefPane/                     Sound.prefPane/
EnergySaver.prefPane/              Speech.prefPane/
EnergySaverPref.prefPane/          Spotlight.prefPane/
Expose.prefPane/                   StartupDisk.prefPane/
Extensions.prefPane/               TimeMachine.prefPane/
FamilySharingPrefPane.prefPane/    TouchID.prefPane/
InternetAccounts.prefPane/         Trackpad.prefPane/
Keyboard.prefPane/                 UniversalAccessPref.prefPane/
Localization.prefPane/             Wallet.prefPane/

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?