Create big size files on unix and linux with dd command. Very useful unix command
It is possible to create different files of any arbitrary size on a unix or linux machine using the "dd" command.
Below is an example:
$ cd /tmp
then execute following command.
$ dd if=/dev/zero of=testfile bs=1024 count=100
This above command will create a file of size 1024 * 100 bytes.
In this command the description about the syntax of command is as explained below,
* if = It is input file.
* of = It is output file or the file to be created, you can give any name.
* bs = It is the block size in bytes.
* count = It is the no of blocks of size bs.
For more detail information for using of dd command see the man pages of dd command.
$ man dd