💻 Software
How can I sort all files by size in a directory?
Fresh5 days ago
Mar 15, 202692735 viewsConfidence Score1%
1%
Problem
How can I display the files in a unix directory sorted by their human readable size, going from largest to smallest? I tried but it does not seem to work.
Error Output
du -h | sort -V -k 1
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I sort all files by size in a directory?
Low Risk
:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix