- Disclaimer
- Crash Reporter
- Dashboard
- Disks
- DNS
- Dock
- Finder
- Homebrew
- Hostname
- Launchpad
- Locate
- Metadata
- Notifications
- Photos
- Preview
- Screen capture
- Software update
- Spotlight
- System Integrity Protection
- Miscellaneous
Please read carefully the manual before using any commands on macsOS.
man man
man csrutil
man scutil
man sudo
man defaults
defaults write com.apple.CrashReporter DialogType -string 'none'
defaults write com.apple.CrashReporter UseUNC -bool true
defaults write com.apple.Dashboard mcx-disabled -boolean true
man diskutil
man fs_usage
man hdiutil
man pmset
man tmutil
Read this (french) article to understand SMS.
pmset -a sms 0
tmutil disablelocal
dscacheutil -flushcache
defaults write com.apple.Dock autohide -bool true
defaults write com.apple.Dock autohide-delay -float 0
defaults write com.apple.Dock autohide-time-modifier -float 0
defaults write com.apple.Dock launchanim -bool false
defaults write com.apple.Dock mineffect -string "genie"
defaults write com.apple.Dock minimize-to-application -bool true
defaults write com.apple.Dock show-process-indicators -bool true
man chflags
chflags nohidden ~/Library
chflags hidden ~/Public
Show hidden files
defaults write com.apple.Finder AppleShowAllFiles -bool true
defaults write com.apple.Finder _FXShowPosixPathInTitle -bool true
defaults write com.apple.Finder ShowPathbar -bool true
defaults write com.apple.Finder ShowStatusBar -bool true
defaults write com.apple.Finder FXEnableExtensionChangeWarning -bool false
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool true
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint2 -bool true
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false
Choose between : 'WhenScrolling', 'Automatic' or 'Always'
defaults write NSGlobalDomain AppleShowScrollBars -string 'Always'
Homepage: brew.sh
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew upgrade
brew tap rockyluke/devops
brew upgrade
scutil --set ComputerName <HOSTNAME>
scutil --set HostName <HOSTNAME>
scutil --set LocalHostName <HOSTNAME>
defaults write com.apple.dock ResetLaunchPad -bool true
killall Dock
man launchctl
launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
Read this (french) article to understand .DS_Store.
defaults write com.apple.DesktopServices DSDontWriteNetworkStores true
defaults write com.apple.DesktopServices DSDontWriteUSBStores true
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
defaults write com.apple.ImageCapture disableHotPlug -bool true
defaults write com.apple.Preview NSQuitAlwaysKeepsWindows -bool false
defaults write com.apple.ScreenCapture location -string "${HOME}/Documents/Screenshots"
defaults write com.apple.screencapture location ${HOME}/Documents/Screenshots
defaults write com.apple.ScreenCapture type -string "jpg"
defaults write com.apple.ScreenCapture type png
defaults write com.apple.ScreenCapture disable-shadow -bool true
man softwareupdate
softwareupdate --list
softwareupdate --install --all
defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1
man mdutil
mdutil -E /path/to/volume
mdutil -i off /path/to/volume
mdutil -i on /path/to/volume
You need to understand [System Integrity Protection][sip-href] before continuing this section.
- Power on your Mac and hold down the CMD + R keys to access the Recovery Partition.
- From the Recovery Partition, click Utilities from the menu bar, and then select Terminal.
- Enter the following command into Terminal and press Enter to execute it:
csrutil disable
- Once the command has executed, exit the Terminal and reboot. When you log back into macOS, SIP will be disabled.
This is a very short version of this article.
hdiutil convert -format UDRW -o /path/to/target.img /path/to/ubuntu.iso
diskutil list
diskutil unmountDisk /dev/diskN
sudo dd if=/path/to/target.img of=/dev/rdiskN bs=1m
diskutil eject /dev/diskN
ββ ββ
ββ(βββ)ββ
ββ(βββ)ββ
ββ(βββ)ββ
ββ(βββ)ββ
ββ(βββ)ββ
ββ(βββ)ββ