1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/common/mkfile.md
pixel 263508cd44
*: replace file(s) syntax and add path/to/ to more things (#9592)
* Fix file(s) and more path/to

* Update pages.it/common/rm.md

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>

* thanks emily your suggestion was dogshit

https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/common-arguments.md

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
2022-12-06 16:47:56 +10:00

397 B

mkfile

Create one or more 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}}