First time contact with Linux

Source: Internet
Author: User

One: File directory Operations Command(i) Create a fileVim file name Press I enter insert mode after writing the file, press ESC, and then enter: Wq The file is saved after hitting enter And The difference      /    Indicates that the root directory starts   . Indicates the current directory starts(ii) commonly used commands1. PWD view current position 2, CDfolder name                         ,         &NB Sp         access to the catalogue 3, ls                        & nbsp                          ,         &NB SP; view files in current directory 4, ls-l                            &NB Sp                             listing the current catalog file details 5, LS-LH&NB Sp                          ,         &NB Sp                 ls  user-friendly Display file list 6, a ,         &N Bsp                                          Show hidden files 7, CD.                          ,         &NB Sp                     go back to the previous category       CD. /.. /.. /.. /..                          ,         &NB Sp         This method can return multi-layer 8, cat file nameView file Contents 9, more file nameSlowly view the contents of the file 10, mkdirfolder nameCreate folder 11, MVfile namefolder nameMove files to a folder 12, Mkdir-pxxx/xxxx/xxxx/xxxRecursively creating folders 13, treexxTree structure showing xx directory 14, CP file name folder name copy files to folder 15, find/-name "file name"Find the file fine from the root directory. -Name "file name" from the current directory (can be combined with * universal notation) 16, R Mfile namePermanently delete the file (less dangerous) (generally create a folder specifically to act as the Recycle Bin, move the files you want to delete to the folder)ask for help1, man xx2. Help XX  find the man first, then find help.

First time contact with Linux

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.