Linux basic commands (1)

Source: Internet
Author: User


After the system is installed, you can practice it now.


  • View CPU Information command: LSCPU
    650) this.width=650; "Style=" border-style:none; Background-color:rgb (255,255,255); "alt=" Qq20170715085155.png "src=" Http://upload-images.jianshu.io/upload_ images/6886239-d13f73e65173440d.png?imagemogr2/auto-orient/strip%7cimageview2/2/w/1240 "/> Similar to view CPU information commands: Cat/proc/cpuinfo

  • -H is displayed in a human readable manner, which is plainly a capacity unit 650) this.width=650; "Style=" Border-style:none;background-color:rgb (255,255,255); "alt=" Qq20170715090745.png "src="/HTTP/ upload-images.jianshu.io/upload_images/6886239-25e7f38d91d722ac.png?imagemogr2/auto-orient/strip%7cimageview2/ 2/w/1240 "/>
    - Says: Used-buffers-cache Get the memory capacity that is actually consumed by the system
    + means: Free+buffers+cache The actual amount of memory remaining
    similar to the View Memory command: cat/proc/ Meminfo

    • view partition information command: LSBLK  650) this.width=650; "Style=" border-style:none; Background-color:rgb (255,255,255); "alt=" Qq20170715092017.png "src=" Http://upload-images.jianshu.io/upload_ images/6886239-2a9ea25afaa2eb32.png?imagemogr2/auto-orient/strip%7cimageview2/2/w/1240 "/> on the relationship between partition and mount point, there is a word that can help us understand:
      When a directory is not mounted separately, the contents of that directory are stored on a partition that is mounted on its parent directory
      similar to the view disk partition command: cat/proc/partitions, DF
      Where Df-h is able to view the file system disk space utilization, a command that uses a high frequency

    • View network card information command: ifconfig
      650) this.width=650; "Style=" border-style:none; Background-color:rgb (255,255,255); "alt=" Qq20170715093006.png "src=" Http://upload-images.jianshu.io/upload_ images/6886239-513ec6795d0e4a6d.png?imagemogr2/auto-orient/strip%7cimageview2/2/w/1240 "/>


In addition to the hardware information, we also need to understand the software information, such as the current system version, kernel version


    • To view the System version command:
      Cat/etc/centos-release
      Cat/etc/redhat-release
      All two of these commands can be


    • To view the System kernel Kernel version command:
      Uname-r



This article is from the "A_pan" blog, make sure to keep this source http://panpangao.blog.51cto.com/10624093/1947791

Linux basic commands (1)

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.