 |
 |
 |
 |
|
 |
|
|
 |
| Email us on admin 'at' kaali.co.uk if you need hosting space or a website at a very reasonable price. Kaali Web Engine is a web based content management system to manage website content, images, look & feel and more. |
|
|
|
|
 |
 |
|
|
 |
 |
|
|
| Most often listing files in Linux/Unix is easy - just use the simple "ls" command and your done, but... |
 |
when you have to list files ordered by their size, it is a bit tricky. On some installations of Unix you have the -S option to "ls" that can be used to get a listing in Size order. When this option is not available just try the following:
du -ksl * | sort +4 -nr
If you just want the files and not the directories, try:
ls -l|sort +4 -nr
The above will order the file listing by size. |
| Was this article helpful? Please leave your feedback. It will help us improve and serve our customers better. |
|
|
|
|
|
 |
| Author: Kaali, last update: 25th Jul 2005 |
|
|
|
 |
|
 |
|
|
 |
|
|
 |
 |
|
|
 |
| © 2005 - 2007 Kaali. All rights reserved. |
|
 |
|
|