Ubuntu command notes for viewing file and folder size
Source: Internet
Author: User
Ubuntu view file and folder size command notes $ du-h -- max-depth114M. /partial233M. if there are many files and folders in the current directory, you can use the command without parameters to list the space used by all files and folders in the current directory cyclically. When there are too many files...
Ubuntu command notes for viewing file and folder size $ du-h -- max-depth = 114 M. /partial233M. if there are many files and folders in the current directory, you can use the command without parameters to list the space used by all files and folders in the current directory cyclically. When there are too many files, it will be messy. you can use the -- max-depth = parameter to specify the number of layers in the deep directory. to view the total space used in the current directory, run the "> $ du-h -- max-depth = 0 command; to view the total space used by the current directory and the total space used by the files and folders under the current directory, run the "$ du-h -- max-depth = 1" command.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service