Home Hot keywords

Search Modes

All

Search Results

Featured snippet from the web

“du” stands for disk usage, and as the name implies, this command is very useful in getting disk-related information in Linux. This is a very flexible command that can be combined with different parameters to get the desired output.
Du sort
Jul 16, 20212 answers
I need to get a list of human-readable du output. However, du does not have a "sort by size" option, and piping to sort doesn't work with the human-readable ...
Feb 21, 2022Make du's output more useful with this neat trick. Sort your disk usage data in any order you want with these du command options.
May 14, 2021By default, du output isn't sorted and there is no flags to do that either. To be able to sort du output, we have to pipe it to another program ...
People also ask
estimate file space usage. -s, --summarize display only a total for each argument. -m like --block-size=1M. Summarize disk usage of each FILE, ...
estimate file space usage. -h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G). -s, --summarize display only a total for each ...
Apr 3, 2017du -sh * | sort -rh - (Shows the size of folders and files, sorted from highest to lowest Shows the size of folders and files, sorted from ...
Mar 26, 2020The default options of the linux du command are not sorted according to the size of the disk. If you want to display the results of du ...
Hi all, I want to sort a directory by file size, du -k |sort -nr is fine, but the output number is NOT friendly. So how to sort more friendly with du -h ?

Page Navigation

google search trends