Home  >  Article  >  Operation and Maintenance  >  How to check linux hard disk

How to check linux hard disk

藏色散人
藏色散人Original
2020-03-11 13:40:398145browse

How to check linux hard disk

How to check the Linux hard drive?

Use linux commands to check the status of the hard disk:

For example, click on the terminal here and enter the command: [lsblk]

How to check linux hard disk

Then press Enter to see the partition status of the hard disk, as shown below.

How to check linux hard disk

#To roughly check the hard disk capacity, enter: [df] and press Enter to see it.

How to check linux hard disk

To view it in GB mode, enter the command: [df -h], then you can see it.

How to check linux hard disk

If you want to view all hard disk file systems, enter: [df -a], then all file system conditions will be listed.

How to check linux hard disk

Recommended Linux video tutorial, learning address: https://www.php.cn/course/list/33.html

The above is the detailed content of How to check linux hard disk. 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
Previous article:how to close linux portNext article:how to close linux port