当前位置:网站首页>Here is the command to display the disk space usage. Go ahead and pay attention to more wonderful things!
Here is the command to display the disk space usage. Go ahead and pay attention to more wonderful things!
2022-06-26 07:30:00 【C_ Ty】
df The full English name of the order is “Disk
Free”, As the name implies, the function is used to display the available disk space on the system . The default display unit is KB, It is recommended to use “df -h” The parameter combination of , Automatically change the appropriate unit according to the disk capacity , Better for reading .
This command is commonly used in daily life to Check how much disk space is occupied 、 How much space and other information is left .
grammar :
Grammar format : df [ Parameters ] [ Specified file ]
df -hT

Common parameters :
Parameters describe
-a Show all system files

-B < Block size >
Specifies the block size for display
-h Show... In an easy to read manner
-H With 1000 Bytes are converted to display
-i Display index byte information
-k Specify the block size as 1KB
-l Show only local file systems
-t < File system type > Only the file system of the specified type is displayed
-T Displays the file system type when outputting
–
-sync Before getting disk usage information , Execute first sync command
Case list :
Display disk partition usage :
df

Display partition usage in an easy to read way :
df -h

Display the disk usage of the partition where the specified file is located :
df
/etc/dhcp

The display file type is xfs Disk usage for :
df -t xfs

边栏推荐
- The difference between insert ignore and insert into
- Database persistence
- Redis系列——5种常见数据类型day1-3
- Redis series - redis startup, client day1-2
- A bold sounding and awesome operation - remake a Netflix
- Shengshi Haotong enterprise wechat sector creates a digital ecological community
- How to convert Unicode into Chinese characters in Excel
- Pycharm settings
- Error: the specified LINQ expression contains a reference to a query associated with a different context
- In depth analysis of redis object structure
猜你喜欢

C#/. Net phase VI 01C Foundation_ 02:vs2019 basic operations, excluding code files, smart tips, data types, differences between float and double, and differences between string and string

Solution to the problem of multi application routing using thinkphp6.0

Request&Response

Median segmentation (find rules) - Niuke

大厂面试TCP协议经典十五连问!22张图让你彻底弄明白

执行npm install -g serve时报错权限权限问题解决方案

卡尔曼滤波器_Recursive Processing

职场“大冤种”,不仅身累,心也被掏空……

In interface testing, several methods to verify the success of deleting interfaces

Apache InLong毕业成为顶级项目,具备百万亿级数据流处理能力!
随机推荐
. Net 20th anniversary! Microsoft sends a document to celebrate
Liquid crystal texture diagram of purple solid mm-tpp-10c methacrylic acid decanoxy tetraphenyl porphyrin and mm-tpp-12c methacrylic acid dodecanoxy tetraphenyl porphyrin - Qi Yue display
$a && $b = $c what???
QT basics tutorial: qstring
SQL query statement
[recommend an entity class conversion tool mapstruct, which is powerful and easy to use]
Here comes the apple ar/vr device exclusive system! Or named realityos
Teach you how to use the harmonyos local simulator
Solution to the permission problem when NPM install -g serve reports an error
How to convert Unicode into Chinese characters in Excel
Stm32f1 and stm32subeide programming example - thermal sensor driver
SQL
面试被问Redis主从复制不会答?这13张图让你彻底弄明白
Introduction to mapping in ES
一文深入底层分析Redis对象结构
php array_merge详解
Crosslinked porphyrin based polyimide ppbpi-2, ppbpi-1-cr and ppbpi-2-cr; Porous porphyrin based hyperbranched polyimide (ppbpi-1, ppbpi-2) supplied by Qiyue
CMDA 3634 image processing
Cache usage
The difference between insert ignore and insert into