| Type: |
Code 
|
| Level: |
Beginner
|
| Date: |
2007-Apr-22
|
| Visited: |
2284 times
|
| Rating: |

|
| Author: |
Tony Potter |
|
|
This tutorial will show you how to create a test file under RedHat-like Linux operating systems. It will be useful when you need to test FTP, Mail, Samba or any protocol and you do not have big file handy to send.
To create a test file simply copy the following line in your Linux shell:
time dd if=/dev/zero of=test.bin bs=1000000000 count=1
After the execution of this line, a test.bin file will be created with a size of 1000000000 bits - approximately 1GB. You can manage the 'bs' variable to change the size of the test file.