Sorting files by size

Sometimes you need to do this. Not very often though, but then again, depends on what your sysadmin responsibilities are.

Some points to meditate on:

  • Sort all files in the current directory
  • Sort all files in all subdirectories recursivelly (ls -lRS is ok, but what if I want to see a flat list sorted by size and not within each subdirectory?)


Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
  • Netvibes
  • NewsVine
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter
  • Yahoo! Bookmarks

No related posts.