
du
List of commands for du:
-
du:ai:2c19b show size difference in gb between two directories$ du -sh dir1 dir2 | awk '{print $1}'try on your machineexplain this command
-
du:ai:5a1ce How can I see the size of a specific folder (/opt/mattermost) with all its subfolders?$ du -sh /opt/mattermosttry on your machineexplain this command
-
du:ai:78c44 show files by size in gb$ du -h --max-depth=1 | sort -rh | grep -E '^${0-9.}+G'try on your machineexplain this command
-
du:ai:99156 Display the size of directories in the current directory$ du -h --max-depth=1try on your machineexplain this command
-
du:ai:a7dc2 get size of directory in kilobytes$ du -s ${directory-name} | cut -f1try on your machineexplain this command
-
du:ai:b901a how can I check each directory filespace usage on / but ignore mounted filesystems?$ du -h --max-depth=1 --one-file-system /try on your machineexplain this command
-
du:tldr:048a1 du: List the human-readable sizes of a directory and any subdirectories, up to N levels deep.$ du -h -d ${2} ${path-to-directory}try on your machineexplain this command
-
du:tldr:27662 du: List the sizes of a directory and any subdirectories, in human-readable form (i.e. auto-selecting the appropriate unit for each size).$ du -h ${path-to-directory}try on your machineexplain this command
-
du:tldr:68994 du: List the human-readable sizes of a directory and of all the files and directories within it.$ du -ah ${path-to-directory}try on your machineexplain this command
-
du:tldr:87c2b du: List the sizes of a directory and any subdirectories, in the given unit (B/KiB/MiB).$ du -${select} ${path-to-directory}try on your machineexplain this command
-
du:tldr:c7287 du: List the human-readable size of all `.jpg` files in subdirectories of the current directory, and show a cumulative total at the end.$ du -ch ${*-*-jpg}try on your machineexplain this command
-
files:directory:list:size List the human-readable sizes of a directory and any subdirectories, up to N levels deep.$ du -h --max-depth=N ${path-to-directory}try on your machineexplain this command
-
files:directory:sort:size List all folders and order them by size.$ du -h --max-depth=1 | sort -hrtry on your machineexplain this command