2015.12.01 Software Installation command line Operation VI

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.