I'm not more on using dd since then on linux, but this time DD command is one the most useful tool on linux. I'm looking a way where i can create a 100Mb file for testing uploading and downloading for our network, so dd comes in my mind..here's how i do it.
1. go to /tmp or any directory you want to uphold the 100Mb file
2. dd if=/dev/zero of=100MBfile bs=1M count=100
3. or dd if=/dev/zero of=100Mbfile bs=100M count=1
Legend :
dd - convert and copy file -> man dd
of=FILE - write to file instead stdout
bs=BYTES - read and write Bytes at a time
count=BLOCKS - copy only BLOCKS input blocks
No comments:
Post a Comment
If you have any suggestion or clarification you send it via on this form.