View and Sort Files in Linux; Arrange by Size on Mac

Mac:

brew install coreutils

du -sh ./* | gsort -h

Leave a Reply

Your email address will not be published. Required fields are marked *