1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:22:08 +02:00
tldr/pages/common/mkfile.md
Vitor Henrique 55a49c4ba1
pages*: remove "one or more" from description when superfluous (#12121)
* pages*: remove "one or more" from description when superfluous

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-25 10:58:11 +05:30

385 B

mkfile

Create empty files of any size. More information: https://manned.org/mkfile.

  • Create an empty file of 15 kilobytes:

mkfile -n {{15k}} {{path/to/file}}

  • Create a file of a given size and unit (bytes, KB, MB, GB):

mkfile -n {{size}}{{b|k|m|g}} {{path/to/file}}

  • Create two files of 4 megabytes each:

mkfile -n {{4m}} {{first_filename}} {{second_filename}}