I'm trying to open Preference Pane from command. However, when I invoke open /System/Library/PreferencePanes/Dock.prefPane
as in
How do you access network preferences from the Terminal?, I get Finder that contains the preference pane opened instead.
What might be a way to open the preference pane? I also tried /System/Library/PreferencePanes/Dock.prefPane/Contents/MacOS/Dock
to invoke the binary to have this error message.
-bash: /System/Library/PreferencePanes/Dock.prefPane/Contents/MacOS/Dock: cannot execute binary file