Common operations commands for MAC OS x terminals (Unix instructions)

Source: Internet
Author: User

Tags: common operations dir how RIP director ignore name directory Open

With more than 10 years of windows, and finally changed a high with the Mac, as the saying goes regardless of the front end or back end or toward the Linux, no matter how many PCs will eventually go to the Mac. Not learning command line with what Mac? It's done!

     the PWD display now the file path (print working directory) LS         displays the files and folders in the path  (list, not is! The landlord at the beginning of the old thought was is, has been wrong) mkdir   Create folder  (make directory) rmdir    Delete folder  (remove directory) RM        Delete file      (remove directory)            Delete folder     RM-RF: /.. /test123/  recursive   adj. return, recursive; CD         mobile             (change directory) usually first PWD look at the current path, then LS to see what is there, and then where you want to go straight                                                            Enter the name of the CD.      Go back to the top directory CD ~ Back to the     home directory             Note ~ is back to the home directory,. is to go back to the upper level, with the wrong very painful remaining some basic not how to use, skip. MV        move file or rename file  (move) rename            : mv a b    mv Gitignore ". Gitignore" Touch    Create file     Open file Force end  Ctrl + C

  

Common operations commands for MAC OS x terminals (Unix instructions)

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.

Tags Index: