dd

# dd [bs=<bytes>][cbs=<bytes>][conv=<keyword>][count=<block number>][ibs=<bytes>][if=<file >][obs=<bytes>][of=<file>][seek=<block number>][skip=<block number>][--help][--version]

# Dd can read data from standard input or file, convert data according to the specified format, and then output to file, device or standard output.

bs=<bytes> Set ibs (input) and obs (output) to the specified number of bytes.
cbs=<bytes> When converting, only the specified number of bytes is converted at a time.
conv=<keyword> Specifies how the file is converted.
conv = ASCII Converts the EBCDIC code to an ASCIl code.
conv = ebcdic Converts the ASCIl code to an EBCDIC code.
conv = ibm Converts the ASCIl code to an alternate EBCDIC code.
conv = block converts the change bits to fixed characters.
conv = ublock converts a fixed bit into a variable bit.
conv = ucase converts letters from lowercase to uppercase.
conv = lcase converts letters from uppercase to lowercase.
conv = notrunc does not truncate the output file.
conv = swab exchanges each pair of input bytes.
conv = noerror Does not stop processing when an error occurs.
conv = sync adjusts the size of each input record to the size of ibs (filled with NUL).
count=<block number> Reads only the specified number of blocks.
ibs=<bytes> The number of bytes per read.
if=<file> Read from file.
obs=<bytes> The number of bytes per output.
of=<file> Output to file.
seek=<block number> Skips the specified number of blocks at the beginning of output.
skip=<block number> Skips the specified number of blocks at the beginning of reading.
--help help.
--version display version information

Examples

Last updated