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

奋力向前
Release: 2021-09-02 13:54:54
forward
3620 people have browsed it

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
Copy after login

Show hidden files

defaults write com.apple.finder AppleShowAllFiles -bool true  

killall Finder
Copy after login

Open hidden files

defaults write com.apple.finder AppleShowAllFiles -bool false  

killall Finder
Copy after login

Magical zoom effect

defaults write com.apple.dock mineffect -string [scale];
Copy after login

Three effects: scale (zoom), genie (elf), suck( Suction)

killall Dock
Copy after login

The built-in input method does not display the list

pkill -f SCIM.app
Copy after login

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!

Related labels:
source:chuchur.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template