19 июн. 2009 г. · To display current directory's files and subdirectories sizes recursively: du -h . To display the same size information but without printing ... |
29 сент. 2010 г. · ls shows the size of the directory entry, not of the directory contents. The directory itself is basically a list of all file names contained in ... |
26 июн. 2015 г. · You can use "du" command to achieve that. Go to the right directory and type du -sh * It will list all files and directories in the current directory. |
18 сент. 2011 г. · Simply navigate to directory and run following command: du -a --max-depth=1 | sort -n. Or add -h for human readable sizes and -r to print ... |
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. |
3 апр. 2014 г. · The easiest way I know to find the size of a directory including everything inside it is with du -s , so you will have to print/paste these values together. |
5 июл. 2022 г. · Why using du at all? You could do a ls -S1AF. This will list all entries in the current directoriy, sorted descending by size. |
30 июл. 2012 г. · Use ls command for files and du command for directories. Checking File Sizes ls -l filename #Displays Size of the specified file ls -l * #Displays Size of All ... |
8 нояб. 2012 г. · It does have a --size option (with no arguments) which prints the size of each file in blocks. By the way, -size +10k seems like a syntax that ... |
12 нояб. 2018 г. · Our log directory size is too huge (almost 90GB) that when we use ls -la command to get the list of files in that directory, the command prompt ... |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |