Automatically open a new Finder window when a volume is mounted
マウントされたディスクがあったら、自動的に新しいウィンドウを開く
defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true
defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true
defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true
タイトルバーにフォルダのフルパスを表示する
defaults write com.apple.finder _FXShowPosixPathInTitle -boolean true
タイトルバーにフォルダのフルパスを表示する(設定を解除)
defaults delete com.apple.finder _FXShowPosixPathInTitle
Set ${HOME} as the default location for new Finder windows(新しいウィンドウでデフォルトでホームフォルダを開く)
defaults write com.apple.finder NewWindowTarget -string “PfDe”
defaults write com.apple.finder NewWindowTargetPath -string “file://${HOME}/”
Show Status bar in Finder (ステータスバーを表示)
defaults write com.apple.finder ShowStatusBar -bool true
Show Path bar in Finder (パスバーを表示)
defaults write com.apple.finder ShowPathbar -bool true
Show Tab bar in Finder (タブバーを表示)
defaults write com.apple.finder ShowTabView -bool true
Show the ~/Library directory (ライブラリディレクトリを表示、デフォルトは非表示)
chflags nohidden ~/Library
Show the hidden files (不可視ファイルを表示)
defaults write com.apple.finder AppleShowAllFiles YES
MacのデフォルトApacheの起動停止
sudo /usr/sbin/apachectl stop
MacのデフォルトApacheの自動起動解除
sudo launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist