Dd: Difference between revisions

From Wiki
Jump to navigation Jump to search
Created page with '{{lowercase title}} To byte-swap a file: <pre> dd if=<input file> of=<output file> conv=swab </pre>'
 
No edit summary
Line 3: Line 3:
<pre>
<pre>
dd if=<input file> of=<output file> conv=swab
dd if=<input file> of=<output file> conv=swab
</pre>
To delete the master boot record:
<pre>
dd if=/dev/zero of=/dev/sdc bs=512 count=1
</pre>
</pre>

Revision as of 17:12, 14 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