How-to Create a 1M file

Inizio della pagina
Allegati:
Messaggio come e-mail
+ (text/plain)
Delete this message
Reply to this message
Autore: Brian Cluff
Data:  
Oggetto: How-to Create a 1M file
> dd if=/dev/null of=TEST bs=1024 count=1000

/dev/null doesn't kick out anything. This just makes a 0 size file.
Better to use /dev/zero or /dev/urandom.

Brian