如何在 Linux 中創建給定大小的文件? - How to create a file with a given size in Linux?

問題:

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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章