[Snippet] Create a large file in Linux
Posted on August 21, 2010
Need to create a large file? For disk speed tests? Or space tests?
- dd if=/dev/zero of=your.big.file bs=1MB count=500
This will create a 500Mb file in your current directory called your.big.file
- 500+0 records in
- 500+0 records out
- 500000000 bytes (500 MB) copied, 4.08855 seconds, 122 MB/s
Related posts
- Messing with time and date on Linux
Some Linux distros don't come with time synchronisation utilities, even though Windows has done it... - Fixing cPanel File Permissions
Sometimes users mess with their own file permissions that they no longer work. They will... - How to install the nslookup, host OR dig commands in Linux?
Sometimes you are unable to use the nslookup, host OR dig command on your Linux... - Alternate ‘Messing with time and date on Linux’
Following up from a previous post, some hypervisors like Xen are a bit fruity when... - [Snippet] Allow mysql root access from anywhere
A small annoyance of mine is on local development servers, I can't login to the...



