Previous Section  < Day Day Up >  Next Section

dd—converts a file while copying it


dd [--help] [--version] [if=file] [of=file][ibs=bytes] [obs=bytes]

  [bs=bytes] [cbs=bytes] [skip=blocks] [seek=blocks] [count=blocks]

  [conv={ascii,ebcdic,ibm,block,unblock,lcase,ucase,swab,noerror,notrunc, sync}]


Copies a file from one place to another, most commonly to and from tape drives or from different operating systems.

Example A.19.

1   $ dd --help

2   $ dd if=inputfile of=outputfile conv=ucase


EXPLANATION

  1. Prints all options and flags with a short description of each.

  2. Converts all characters in inputfile to uppercase and sends output to outputfile.

    Previous Section  < Day Day Up >  Next Section