Monday 13 May 2013

Creating large file in linux

Use "truncate -s 10M output.file" command. This will create a 10MB file with the name output.file. :))

Or similarly u can use  "dd if=/dev/zero of=myfile bs=1M seek=1500 count=1". 

This will create a 1.5 GB file.

No comments:

Post a Comment