Make a file with custom size

You can make a file of custom size by using following command:

dd if=/dev/zero of=myfile bs=1M count=
Base on above command, the total size of the file would be 1M*count
This will be very useful on case you want to generate files of sizes like 500M/1G for some testing purpose.

Related Posts by Categories

Widget by Hoctro | Jack Book