dd if=/dev/zero of=upload_test bs=1M count=size_in_megabytes
dd if=/dev/zero of=upload_test bs=file_size count=1
# Create a file of 5MB
# -s, --size
# truncate command extends or truncates a file to match
# the given size, if the file doesn't exist it creates it
truncate -s 5M dest-file.txt