/other/

Quickly create a large file on a Linux system.

2017-08-05 15:01:18

fallocate -l 1K file_1K.txt
fallocate -l 2K file_2K.txt
fallocate -l 5K file_5K.txt

fallocate -l 10M file_10M.txt
fallocate -l 20M file_20M.txt
fallocate -l 50M file_50M.txt

fallocate -l 100M file_100M.txt
fallocate -l 200M file_200M.txt
fallocate -l 500M file_500M.txt

fallocate -l 1G file_1G.txt
fallocate -l 2G file_2G.txt
fallocate -l 5G file_5G.txt