Script - Making Files of a Specific Size (dd)

There may be times where a file of an exact size is needed to test file transfer speeds, upload limitations, etc. Here’s a script that will prompt for the size in MB and name of a file, and then create one. This is handy to add to your .bash_functions for quick access. To create a file of a specific size and name using the dd command, you can use the following syntax:...

May 13, 2023 · 2 min · Jason E. Burrows