|
|
How do I find the largest files? |
To find the largest files, in units of bytes, one can use 'find,' 'ls,' 'awk,' 'sort,' and 'less': find / -type f -exec ls -l {} + | awk '{ print $5 "\t" $9 }' \
| sort -nr | less
To find the largest files, in units of kilobytes: find / -type f -exec ls -l {} + | awk '{ print int($5/1024) "\t" $9 }' \
| sort -nr | less
<mschalit@pacbell.net>
| |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||