Mac Common basic commands

Source: Internet
Author: User
Tags save file

Cd.. < return to Superior >

CD < Enter a folder >

CD ~ < back root>

CD- < Return to the previous visited directory >

RM < Only delete files are supported >

Rm-r < Delete all files and subdirectories in the current directory except for hidden files >

Vim < edit files >

Touch < Create files >

I < edit >

: Q < Exit Do not save file contents >

: Wq < exit save File >

PWD < Displays the user's current working directory as an absolute path >

mkdir < Used to create a catalog >

Cat < connect files and print to standard output devices >

MV < Move folder file, modify folder file name, two operations > Syntax: [1, rename: "MV old (you want to change the file path)" New_name (new name) "2, Mobile:" MV ~/path. "Moves all files in the directory (~/path) to the Pre-catalog (in. Representations)]

Lipo-create Merge Path 1 merge path 2-output output merge path 3 < merge. A or. framework file >

Mac Common basic commands

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.