Get the App
SLTechnology News&Howtos  ›  Development  › 

How to generate large Files quickly by linux

Shulou Source: shulou.com Published: 2022-06-01 05:12:41 10月03日 Update

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.

Tags: Files generation articles commands more good practical content size articles sometimes knowledge speed reference help related testing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Apple Huawei Docker NVidia