dd Convert and Copy a File

Synopsis

/usr/bin/dd if=input-file of=output-file [operand=value...]

Description

Use the dd command to copy and convert files. The main advantage of the dd command is that it quickly converts and copies files with different data formats, such as differences in block size or record length. The most common use of this command is to transfer a complete file system or partition from a hard disk to a tape. You can also use it to copy files from one disk to another.

dd copies the specified input file to the specified output with possible conversions. The standard input and output are used by default. You can specify the input and output block sizes to take advantage of raw physical I/O. Specify sizes in bytes; end a number ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.