top | item 45642474

(no title)

onestay42 | 4 months ago

dd an company require if= and of=, if that counts

discuss

order

bayindirh|4 months ago

dd doesn't require either if= or of=. It'll read from stdin (or pipe) if you omit if= and it'll write to stdout happily if you omit of=.

From the man page:

    if=FILE - read from FILE instead of stdin.
    of=FILE -  write to FILE instead of stdout.
So you can do:

   cat x.iso | dd oflag=direct bs=4096kB | /dev/sdc