To create 10 MB image file in linux

To create a 10 MB file in Linux you can use following command.

dd if=/dev/zero of=test.img bs=1024 count=0 seek=$[1024*10]

Leave a comment