In the previous article "A brief analysis of the JDK for installing and uninstalling Java on Mac (share)", we learned about the JDK for installing and uninstalling Java on Mac. The following article will introduce you to the commonly used terminal commands in MacOS. Let’s take a look.
Upgrade mac os, some permissions are disabled by default, but they are allowed to be enabled through commands
sudo spctl --master-disable
defaults write com.apple.finder AppleShowAllFiles -bool true killall Finder
defaults write com.apple.finder AppleShowAllFiles -bool false killall Finder
defaults write com.apple.dock mineffect -string [scale];
Three effects: scale (zoom), genie (elf), suck( Suction)
killall Dock
The built-in input method does not display the list
pkill -f SCIM.app
Recommended learning:MacOS tutorial
The above is the detailed content of An article explaining commonly used terminal commands in MacOS (with code). For more information, please follow other related articles on the PHP Chinese website!