Linux Basic Instructions

Source: Internet
Author: User

pwd-----To see your current directory

/-----represents the root directory

CD (chage directory)-----switch directories

LS-----View the files in the current directory

ls-l----- Listing Current directory detail file information

.. -----to return to the previous level directory

ls-a-----View hidden files in the directory

vim. Test-----Create a hidden file

LS-LH-----H=human User-friendly display file list

Cat file name -----View File Contents

More file names -----Slowly view the contents of the files enter: a line of space: one page

mkdir folder name -----Create directory

mv For_caixin lowb_group-----Move for_caixin to lowb_group

mkdir-p folder name/folder name/folder name -----recursively created directory

Tree CN-----Show the structure of the CN directory

. -----represents the current directory

Edit File

Vim file name

Press I to enter insert mode

After writing the file, press ESC, then press shift+: Key, enter Wq (save the meaning), then hit enter, the file is saved and exited

Linux Basic 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.

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.