|
| From: | jidanni |
| Subject: | ls -s but sorted |
| Date: | Fri, 08 Aug 2008 11:50:35 +0800 |
ls man page says
-s, --size
print the size of each file, in blocks
-S sort by file size
but to sort by block size (not always the same as file size due to
files with holes), one must do
ls -s|sort -n
| [Prev in Thread] | Current Thread | [Next in Thread] |