Skip to main content

New answers tagged

12 votes
Accepted

df with a given filename return a filesystem name which is not in the list of all filesystems given by df without any parameter

The output you’re seeing with no parameters is the result of special handling of device names ending in UUIDs: if (process_all && has_uuid_suffix (dev_name) && (...
Stephen Kitt's user avatar
5 votes

df with a given filename return a filesystem name which is not in the list of all filesystems given by df without any parameter

The result is not the same on all systems. The behavior depends on the distribution used, maybe the version of coreutils, and/or partly on whether LVM, LUKS, configuration or another system is in use. ...
ReflectYourCharacter's user avatar
0 votes

Finding files that use the most disk space

I would go with a two-step process: Use du with --max-depth=1 to find directories where those large files could be located. For example, directories exceeding 10G: sudo du --human-readable --max-...
smac89's user avatar
  • 1,665
0 votes

How to find total filesize grouped by extension

find . -type f -printf "%p %k\n" | sed 's|.*\.||' | awk '{ arr[$1]+=$2 } END { for (key in arr) printf("%s\t%s\n", key, arr[key]) }' | sort -k1,1 Based on this ...
Anton Duzenko's user avatar

Top 50 recent answers are included