Making a file of any size

Although, there are online tools on the Internet to make a fake file with a given size that we want, we could also use dd command of Linux system to create a file with an amount of Bytes that we want.

$ dd if=/dev/zero of=output_file.dat  bs=16M  count=1

or equivalently,

$ dd if=/dev/zero of=output_file.dat  bs=1M  count=16