Show all files in a dir and all sub-dirs sorted by file size?

Hi All,

Any linux command line gurus out there?

I've got some space issues in my /var dir, and I'm looking for (I presume) a 'du' command that will list all files and filesizes in the /var (AND ALL SUB-DIRECTORIES) directory, sorted by size (largest first).

This command is proving extremely elusive, but would really help me zero-in on the big files that are bloating out...

Thanks in anticipation.

P.S. I don't mind if filesizes are displayed in bytes and not Mbs or Kbs. I don't want to see directories - just files! :-)

 

 

 

 

Top