问题:
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?在 Linux 上创建特定大小文件的命令是什么?
解决方案:
参考一: https://en.stackoom.com/question/aE9参考二: https://stackoom.com/question/aE9