Dump Data – convert and copy a file (use for RAW storage), create a boot floppy.

dd [OPTION]…

The numeric-valued options below (BYTES and BLOCKS) can be followed
by a multiplier: &qt;b&qt;&qt;=512, &qt;c&qt;&qt;=1, &qt;w&qt;&qt;=2, &qt;xM&qt;&qt;=M, or any of the standard
block size suffixes like &qt;k&qt;&qt;=1024 (*note Block size::).

input file : Read from FILE instead of standard input.

output file : Write to FILE instead of standard output. Unless &qt;conv=notrunc&qt;&qt;
is given, &qt;dd&qt;&qt; truncates FILE to zero bytes (or the size specified
with &qt;seek=&qt;&qt;).

Read BYTES bytes at a time.

Write BYTES bytes at a time.

Both read and write BYTES bytes at a time. This overrides &qt;ibs&qt;&qt;
and &qt;obs&qt;&qt;.

Convert BYTES bytes at a time.

Skip BLOCKS &qt;ibs&qt;&qt;-byte blocks in the input file before copying.

Skip BLOCKS &qt;obs&qt;&qt;-byte blocks in the output file before copying.

Copy BLOCKS &qt;ibs&qt;&qt;-byte blocks from the input file, instead of
everything until the end of the file.

Convert the file as specified by the CONVERSION argument(s).
(No spaces around any comma)


Convert EBCDIC to ASCII.

Convert ASCII to EBCDIC.

Convert ASCII to alternate EBCDIC.

For each line in the input, output &qt;cbs&qt;&qt; bytes, replacing the
input newline with a space and padding with spaces as

Replace trailing spaces in each &qt;cbs&qt;&qt;-sized input block with a

Change uppercase letters to lowercase.

Change lowercase letters to uppercase.

Swap every pair of input bytes. GNU &qt;dd&qt;&qt;, unlike others,
works when an odd number of bytes are read–the last byte is
simply copied (since there is nothing to swap it with).

Continue after read errors.

Do not truncate the output file.

Pad every input block to size of &qt;ibs&qt;&qt; with trailing zero
dd can be used to create a boot floppy:

dd if=boot.img of=/dev/fd0 bs=1440


if = the input file or device
of = the output file or device
bs = the block size for both input and output files