Get the App
SLTechnology News&Howtos  ›  Servers  › 

The usage of du Command parameters in Linux basic commands df and linux

Shulou Source: shulou.com Published: 2022-06-01 18:00:41 11月23日 Update

This article mainly explains the usage of Linux basic command df and du command parameters in linux. The explanation in this article is simple and clear and easy to learn and understand. Please follow Xiaobian's train of thought to study and learn the usage of Linux basic command df and du command parameters in linux.

The following is an introduction to the parameters of the du command in Linux basic commands df and linux. I hope it will be helpful to your study.

Df command parameters in linux:

The df command parameter in linux is used to view the status information of the Linux file system, showing the capacity, usage, unusage and mount point of each partition.

Such as

Df-k displays the information of each partition in kilobytes of KB

Df-a shows all partitions, including partitions of size 0

Df-T displays the partition type EXT2 or EXT3, etc.

Du command parameters in linux:

The du command parameter in linux is used to view the size of a file or folder.

Such as

Du-b / home displays the size of each subfolder under the / home folder in bytes

Du-ks home displays the total size of the / home folder in kilobytes of KB

Thank you for your reading, the above is the "Linux basic command df and linux in the du command parameter usage" content, after the study of this article, I believe you have a deeper understanding of the Linux basic command df and linux in the use of du command parameters, the specific use also needs to be verified by practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Commands parameters files size folders learning information units bytes usage content size capacity that is ideas situations articles more status knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Microsoft Huawei Docker Apple