Common commands for Linux systems

Source: Internet
Author: User

System Information View

1. LSCPU View CPU

2. Free View Memory

3. LSBLK View Hard disk partition

Df-h viewing hard disk usage

4. Lspci |grep-i ' ETH '

Management of Clocks

1. Date Display system time

2. Cal-y View Calendar

3. Tzselect Adjust time zone

4. Hwclock--show display Hardware clock

5, Hwclock-w

-S

Ways to help with Linux

1 、--Help

2, man

3. Info

File system type

1, the basic types of files:

b Fast Device files

Catalog D

C-Character device files

P Pipeline File

L Symbolic Link file

F-Normal file

File path

1. Touch to create a new file

2. CD-Switch to the original path

3. cd. /Return to Parent directory

Master System Basic Management commands

1. Touch to create an empty file

2. mkdir Create an empty folder

3. Rdir Delete Empty directory

4, Mkdir-p Dir1/dir2/dir3

5. RM #删除文件

6, RM-RF all Delete


Common commands for Linux systems

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.