Dd: Difference between revisions

From Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
dd if=/dev/zero of=/dev/sdc bs=512 count=1
dd if=/dev/zero of=/dev/sdc bs=512 count=1
</pre>
</pre>
* test

Revision as of 21:37, 27 April 2017

To byte-swap a file:

dd if=<input file> of=<output file> conv=swab

To delete the master boot record:

dd if=/dev/zero of=/dev/sdc bs=512 count=1
  • test