To see the 10 largest files in a directory or on a UFS partition, use
Uncategorized
2
Posts
2
Posters
1
Views
-
To see the 10 largest files in a directory or on a UFS partition, use
du -h /partition_or_directory_name | sort -rh | head
-- Dru <genesis@istar.ca> -
undefined stefano@mastodon.bsd.cafe shared this topic
-
To see the 10 largest files in a directory or on a UFS partition, use
du -h /partition_or_directory_name | sort -rh | head
-- Dru <genesis@istar.ca>@fbfortune see files and directories in $PATH ordered by size, saving the result in file $FOO:
du -h $PATH | sort -hr |tee $FOO