Linux basic commands are used

Source: Internet
Author: User

1.1ls-a explicit all files, including hidden files

1.2 Ls-l List-form explicit file name

1.3 ls-l-H list the explicit size and name can also be written LS-ALH (-can be omitted) redirect Ls-alh >xx.txt write information to xx.txt >>xx.tx append information touch. File name. txt Create a hidden file

Ubuntu See Command Help Example: 1. LS--help 2. Man LS (press Q to exit) Note: command as long as it will be good, no need to fall into a vicious circle!

2.Tab can be automatically complete

3.cat can view all the contents of the file

4.history can view the history command!+ How many lines of command can be directly applied

5.rm file name Delete files

6. * Wildcard Example: *.ppt occupies a position to replace n characters after *? wildcard example: 2? Only this one has to find 2 files. 7.more View file contents F B page up and down press Q to exit

Tip: Ls-alh/bin |more by | Let two commands link together

8.CD using the 8.1 cd folder name to enter the folder

8.2 CD ~ Switch to the current user's home directory (/home/user directory)

8.3 CD. Switch to current directory

8.4 CD. Switch to the parent directory CD.   /.. Ancestor of Superior Path

8.5 CD-access to the last directory

9.mkdir File name Create folder

10. From the current path to the current path from the root directory is the absolute path

2018-4-19 16:54:47

Linux basic commands are used

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.