To list unix directory in the order of filesize

ls -l | sort -bn +4 (smallest to largest)
or
ls -l | sort -bnr +4 (largest to smallest)

No comments: