Home >Operation and Maintenance >Mac OS >An article explaining commonly used terminal commands in MacOS (with code)

An article explaining commonly used terminal commands in MacOS (with code)

奋力向前
奋力向前forward
2021-09-02 13:54:543675browse

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.

An article explaining commonly used terminal commands in MacOS (with code)

Upgrade mac os, some permissions are disabled by default, but they are allowed to be enabled through commands

Enable privacy and allow any source

sudo spctl --master-disable

Show hidden files

defaults write com.apple.finder AppleShowAllFiles -bool true  

killall Finder

Open hidden files

defaults write com.apple.finder AppleShowAllFiles -bool false  

killall Finder

Magical zoom effect

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!

Statement:
This article is reproduced at:chuchur.com. If there is any infringement, please contact admin@php.cn delete