30 апр. 2014 г. · Use the command du . du /local/mnt/workspace. To get size only for top-level directories: du -k --max-depth=1 /local/mnt/workspace. |
11 апр. 2012 г. · How can I make the "du" command run without outputting all the directories, like quiet mode? ... How to list the files and folders in a directory ... |
11 июл. 2010 г. · To get a sorted list containing the 20 biggest dirs I do this: du -m /some/path | sort -nr | head -n 20 In this case the sizes will be reported in megabytes. |
4 июн. 2021 г. · du -sh $(ls -A) | sort -h displays size of hidden files and directories and then sorts it in an ascending order. |
4 янв. 2019 г. · The simplest is: du -h --max-depth=1 parent. This will show all sizes of the children of parent If you also want the grandchildren, ... |
27 февр. 2015 г. · It asks for you to calculate the Disk Usage statistics for all of the directories in your home directory in human-readable format. |
28 апр. 2017 г. · Try using the max-depth argument. It prints the total disk space usage for a directory (or file, with --all ) only if it is N or fewer levels below the command ... |
18 июн. 2015 г. · The du command recursively descends all directories and subdirectories and always gives you the total contained anywhere beneath. |
20 мар. 2012 г. · I'm trying to get the size of the directories named "bak" with find and du. I do that : find -name bak -type d -exec du -ch '{}' \; But it returns the size for |
25 февр. 2009 г. · As of GNU coreutils 7.5 released in August 2009, sort allows a -h parameter, which allows numeric suffixes of the kind produced by du -h. |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |