Dd: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Linux =Create a Fixed Size File with Random Content= Write a 10K file: dd if=/dev/random of=./test.bin bs=10 count=1024 =Create a Fixed S...")
 
 
Line 2: Line 2:


* [[Linux#Commands|Linux]]
* [[Linux#Commands|Linux]]
* [[Mac Low-Level Write on an USB Drive#Procedure|Mac Low-Level Write on an USB Drive]]


=Create a Fixed Size File with Random Content=
=Create a Fixed Size File with Random Content=

Latest revision as of 20:03, 9 December 2018

Internal

Create a Fixed Size File with Random Content

Write a 10K file:

dd if=/dev/random of=./test.bin bs=10 count=1024

Create a Fixed Size File with Zeroes as Content

Write a 10K file:

dd if=/dev/zero of=./test.bin bs=10 count=1024