【linux命令】命令fallocate生成大文件

苏格拉底的落泪 / 2023-08-11 / 原文

命令fallocate生成大文件

1. 创建1GB大文件,test.img是文件名:

fallocate -l 1G test.img