Overview
General
Computer Name
# Get Computer Name
[mitesh@Matrix ~]$ scutil --get ComputerName
# Set Computer Name
[mitesh@Matrix ~]$ sudo scutil --set ComputerName "MiteshShah"HostName
# Get HostName
[mitesh@Matrix ~]$ scutil --get HostName
# Set HostName
[mitesh@Matrix ~]$ sudo scutil --set HostName "MiteshShah"LocalHostName
# Get LocalHostName
[mitesh@Matrix ~]$ scutil --get LocalHostName
# Set LocalHostName
[mitesh@Matrix ~]$ sudo scutil --set LocalHostName "MiteshShah"Change NetBIOSName
# Get NetBIOSName
System Preferences > Network > Advanced > WINS
# Set NetBIOSName
[mitesh@Matrix ~]$ sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "MiteshShah"Expand Save Panel
[mitesh@Matrix ~]$ defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool trueFinder
NOTE!: Restart Finder Application is required after making following changes.
Finder Quite via ⌘ + Q
[mitesh@Matrix ~]$ defaults write com.apple.finder QuitMenuItem -bool trueShow Hidden Files
[mitesh@Matrix ~]$ defaults write com.apple.finder AppleShowAllFiles -bool trueShow Path Bar
[mitesh@Matrix ~]$ defaults write com.apple.finder ShowPathbar -bool trueDisplay POSIX Path in Windows Title
[mitesh@Matrix ~]$ defaults write com.apple.finder _FXShowPosixPathInTitle -bool trueDisable Warning When Change File Extension
[mitesh@Matrix ~]$ defaults write com.apple.finder FXEnableExtensionChangeWarning -bool falseEmpty Trash without any warning
[mitesh@Matrix ~]$ defaults write com.apple.finder WarnOnEmptyTrash -bool falseEmpty Trash Securely
[mitesh@Matrix ~]$ defaults write com.apple.finder EmptyTrashSecurely -bool true