dd - copy blocks of data
$ dd if=[input_file] of=[output_file] [args...]
dd
is an application used to write blocks of data from one file to another. A common use case for dd
is to make a bootable hard drive from a ISO file.
--help
: Display help message and exitif
: input file (or device) to read from (default: stdin)of
: output file (or device) to write to (default: stdout)bs
: block size (of bytes) to use (default: 512)count
: number of blocks to writeseek
: number of output blocks to skip (default: 0)skip
: number of input blocks to skip (default: 0)status
: level of output (default: default)
default
: error messages + final statisticsnone
: just error messagesnoxfer
: no final statistics$ dd if=/dev/zero of=./zeros bs=1M count=1