- 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 defaultsdefaults write com.apple.CrashReporter DialogType -string 'none'defaults write com.apple.CrashReporter UseUNC -bool truedefaults write com.apple.Dashboard mcx-disabled -boolean trueman diskutil
man fs_usage
man hdiutil
man pmset
man tmutilRead this (french) article to understand SMS.
pmset -a sms 0tmutil disablelocaldscacheutil -flushcachedefaults write com.apple.Dock autohide -bool truedefaults write com.apple.Dock autohide-delay -float 0defaults write com.apple.Dock autohide-time-modifier -float 0defaults write com.apple.Dock launchanim -bool falsedefaults write com.apple.Dock mineffect -string "genie"defaults write com.apple.Dock minimize-to-application -bool truedefaults write com.apple.Dock show-process-indicators -bool trueman chflagschflags nohidden ~/Librarychflags hidden ~/PublicShow hidden files
defaults write com.apple.Finder AppleShowAllFiles -bool truedefaults write com.apple.Finder _FXShowPosixPathInTitle -bool truedefaults write com.apple.Finder ShowPathbar -bool truedefaults write com.apple.Finder ShowStatusBar -bool truedefaults write com.apple.Finder FXEnableExtensionChangeWarning -bool falsedefaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode2 -bool truedefaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint2 -bool truedefaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool falsedefaults write NSGlobalDomain AppleShowAllExtensions -bool truedefaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool falsedefaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool falseChoose 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 upgradescutil --set ComputerName <HOSTNAME>
scutil --set HostName <HOSTNAME>
scutil --set LocalHostName <HOSTNAME>defaults write com.apple.dock ResetLaunchPad -bool true
killall Dockman launchctllaunchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plistRead this (french) article to understand .DS_Store.
defaults write com.apple.DesktopServices DSDontWriteNetworkStores truedefaults write com.apple.DesktopServices DSDontWriteUSBStores truelaunchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plistdefaults write com.apple.ImageCapture disableHotPlug -bool truedefaults write com.apple.Preview NSQuitAlwaysKeepsWindows -bool falsedefaults write com.apple.ScreenCapture location -string "${HOME}/Documents/Screenshots"defaults write com.apple.screencapture location ${HOME}/Documents/Screenshotsdefaults write com.apple.ScreenCapture type -string "jpg"defaults write com.apple.ScreenCapture type pngdefaults write com.apple.ScreenCapture disable-shadow -bool trueman softwareupdatesoftwareupdate --listsoftwareupdate --install --alldefaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1man mdutilmdutil -E /path/to/volumemdutil -i off /path/to/volumemdutil -i on /path/to/volumeYou 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 ββ ββ
ββ(βββ)ββ
ββ(βββ)ββ
ββ(βββ)ββ
ββ(βββ)ββ
ββ(βββ)ββ
ββ(βββ)ββ