How to generate large Files quickly by linux
This article will explain in detail how linux can quickly generate large files. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Quickly generate large files
Sometimes, on Linux, we need a large file to test the speed of uploading or downloading, and a large file can be generated quickly with the dd command.
$dd if=/dev/zero of=file.img bs=1M count=1024
The above command generates a file named file.img with a size of 1G.
This is the end of the article on "how to quickly generate large files in linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.