Employer Zone
Take a tour
Register
Login
,
Share with your friends
LISTING FILES BY SIZE
Views
226
Author:
Vishal_e40165b3 (Vishal Bele)
View Profile
|
View other solutions by this author
Question / Problem
How to list files sorted by size?
Solution
ls -l | grep ^- | sort -nr -k 5 | more
or
ls -lR | grep ^- | sort -nr -k 5 | more
Applies to
Linux
,Red Hat Linux
Rank It
N/A
0
1
2
3
4
5
6
7
8
9
10
Login to rank it
Report
Advertisement