file management in ubuntu

1 du [-ahskm] file or directory name  
Parameter explanation
-a : List the capacity of all files and directories, because only the capacity of the directory is counted by default
-h : display in human-readable capacity format (G/M/K), automatically select display unit size
-s : List the total, not the capacity of each individual directory
-k : display in KB
-m : display in MB
Common Command Reference
 
View the current directory size
[plain] 

 

du -sh ./  
 
2 df view file system
 
 
3 fdisk

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326319863&siteId=291194637
Recommended