Home  >  Article  >  Operation and Maintenance  >  How to check the number of hard disks in Linux system

How to check the number of hard disks in Linux system

王林
王林Original
2020-04-30 13:16:0112635browse

How to check the number of hard disks in Linux system

Can be viewed using the df command. For example:

[root@VM_76_108_centos ~]# df -l

Output result:

How to check the number of hard disks in Linux system

[root@VM_76_108_centos /]# df -h

Output result:

How to check the number of hard disks in Linux system

As above Shown: There is only one hard disk in the system.

Recommended tutorial: linux tutorial

The above is the detailed content of How to check the number of hard disks in Linux system. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn