Linux basic commands-Computer Information

Source: Internet
Author: User

In Linux, you need to use the command line to view basic computer configuration information.

The proc directory is the mount point for information in the memory.

CPU in/proc/cpuinfo

Memory in/proc/meminfo

Hard Disk on fdisk

Graphics card in lspci

USB flash disk lsusb

Driver lsmod

Kernel version uname

Ubuntu/etc/issue

The operating system is kernel, and Ubuntu can only be said to be a release version on the kernel.

Strictly speaking, the operating system only refers to kernel. ie. mediaplayer is the application software on the operating system.

 

Command for viewing Text File Content:Cat/Proc/cpuinfo view the CPU information file.

In the cpuinfo fileBogomipsIndicates the number of commands executed in one second. bogo indicates false.

CAT/proc/meminfo | grep memtotal command, used to view the overall memory size.| GrepIs a filter. Note: The command is case sensitive.

 

View USB device information:Lsusb-VIf you want to scroll through a single screen, use lsusb-v | more and scroll the screen by space.| MoreThe pipe controller is used to control single-screen scrolling.

View hard disk information: sudo fdisk-l

View the video card and nic information: lspci

View driver information: lsmod

View kernal version: uname-

View Ubuntu version: CAT/etc/issue

Configure the software source and click upgrade manager to complete the upgrade.

Note: The main server in the software source is usually relatively slow. You can select a server that is relatively fast to download and update files.

Related Article

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.