How do I create a file size in Linux?

How do I create a file size in Linux?
Answer
Create Files Of A Certain Size In Linux
  1. Create files of a certain size using “truncate” command. To create a specific size file, for example 5 MB, run: $ truncate -s 5M ostechnix.txt. …
  2. Create files of a certain size using “fallocate” command. …
  3. Create files of a certain size using “head” command. …
  4. Ceate files of a certain size using “dd” command.
12 июл. 2017 г.
 

Tìm kiếm

Back
Top