Pages

Friday, 14 February 2014

Create a 1GB random file

dd can be used to wipe out the file, whole drive or partition permanently.
 
dd if=/dev/urandom of=sample.txt bs=1G count=1
 
dd if=/dev/zero of=sample.txt bs=1G count=1 
 

No comments:

Post a Comment