Software Installation
1.APP Store
2..dmg/.pkg (equivalent to disc mirroring) double-click Install
3. Green software, *.app drag directly to application
(Unofficial installation, be aware that any source is allowed in preferences)
Common URL: www.macx.cn bbs.feng.com
There are two ways to operate the MacOS system. One is graphical, and the other is command-line operations. In contrast, the former is more intuitive, while the latter is more convenient and resource-efficient.
Basic commands
LS view files or subdirectories under the current folder
Ls-l file or subdirectory details under the current folder
Ls-la can view hidden files relative to "Ls-l"
View the "D" folder, "L" shortcut, "-" Ordinary file, "R" Readable, "w" Writable, "x" Executable, "-" not, where the first set of "rwx" pairs should "owner permission", the second group corresponds to "User rights of this group", the third group corresponds to "Other user rights "
PWD View current Operating directory
cd < directory name > switch directory
Cd.. Return to the previous level directory (. Represents the current directory)
CD/Rollback root directory
CD ~ User home Directory
Clear clears screen information
mkdir < folder name > create a directory
RM–RF < folder name > Delete a folder (rm deletes a file directly)
CP (-R) Copy files (folder)
MV Move File/rename (change one name in the same location)
Cat View Text File
Man view command usage and parameters (q key Exit)
VI Text Editor
In a text editor
YY copy (current line)
P Paste
DD Delete When moving forward
X Delete Current character
: Wq Save Exit
: q! Do not save exit
: W Save but do not exit
Shell status: UI for command-line state
20:54:09
2015.12.01 Software Installation command line Operation VI