Linux Disk Space Usage Tool

The most common server issue I encounter is probably related to a full disk.

Here is a great command line tool that I use to find out what files are eating up all the available space.

ncdu

Test File Upload Limit

Sometimes (most of the time) when setting up a server or app I forget to set the file upload limit.

Here is a quick way to generate a file of any size and then upload it to a server via curl.

mkfile -n 24m 24.txt
curl -F 'data=@24.txt' https://example.com/file-upload-handler

Note: I use a Mac