Surf the DreamJustin Avery

Snippets

List directory with file sizes on Linux (ubuntu)

du -sh *

I wanted to be able to list ls the files and folders on the server to find out which ones were taking up the most disk space (as part of the sitespeed.io project i've been working on). This worked a treat.

Comments

Be the first to comment

Comments are read before they appear. Your email address is never shown.

    Type to search titles and full text. ↵ opens the full results page.