MyTetra Share
Делитесь знаниями!
How to create a file with a given size in Linux?
Время создания: 10.10.2018 08:27
Текстовые метки: linux create file given size
Раздел: Linux
Запись: Velonski/mytetra-database/master/base/15391420620337flw3ep/text.html на raw.githubusercontent.com

For testing purposes I have to generate a file of a certain size (to test an upload limit).


What is a command to create a file of a certain size on Linux?


dd if=/dev/zero of=upload_test bs=file_size count=1


Where file_size is the size of your test file in bytes

Так же в этом разделе:
 
MyTetra Share v.0.59
Яндекс индекс цитирования