Du-ah--max-depth=1 This is what I want. A indicates that all files and folders (excluding subdirectories) are displayed in the directory, and H means that the max-depth represents the depth of the directory in a way that humans can read.
The du
The du command is a view of the space used by files and directory disks.(1) Usage:usage: du [options] [file](2) Function:function: report disk space usage(3) Option parameters:1)-A--all displays statistics on all files, not just subdirectories.2)-B--
Du-ah--max-depth=1 This is what I want the result of a means displays all files and folders (without subdirectories) in the directory, and H represents the depth of the directory in a way that humans can understand. max-depth. The du command is used
Du-ah--max-depth=1 This is what I want. A indicates that all files and folders (without subdirectories) are displayed in the directory, and H represents the depth of the directory in a way that humans can understand, max-depth.The du command is used
The Linux du command also looks at the usage space, but unlike the DF command, the Linux du command is a view of the space used by files and directory disks, or some difference from the DF command.
What's the difference between Du/bin and Du-s/bin?
In linux, the du and df commands also asked me about the command for viewing the directory size in Linux. now I have learned the commands du/df a while ago. A while ago, during the sub-test, the program could not be executed due to the full disk
Linux Command Tutorial: view disk space using the du commandThe du command, that is, disk usage, can calculate the disk space occupied by files or directories. Command Format:
Du [Option] [file]Du [OPTION]… [FILE]…If no option is specified, it
Command: Du usage linux folder size
du-sh./view current directory size
du-sh * View folder size in current directory
du command
Use
Overview disk usage.
Grammar
Du [a | s] [k] [M] [-g] [-l] [-r] [-X] [-H | l] [File ...]
Description
The du
In linux, the du and df commands also asked me about the command for viewing the directory size in Linux. Now I have learned the commands du/df a while ago. A while ago, some sub-Tests encountered that the program could not be executed due to the
Du command
Disk Management
The du command also looks at the usage space, but unlike the DF command, the Linux du command is a view of the space used by files and directory disks, or there are some differences from the DF command.
Grammar
du
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.