Wednesday, February 1, 2017

List files by their size - bash

To list files by their size

ls -Sl

To list top 5 files by their size

ls -S |  head -n 5


No comments:

Post a Comment