Dd

From NovaOrdis Knowledge Base
Revision as of 20:03, 9 December 2018 by Ovidiu (talk | contribs) (→‎Internal)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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