mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-31 02:18:01 +01:00
15 lines
344 B
Markdown
15 lines
344 B
Markdown
# mkfile
|
|
|
|
> Create one or more empty files of any size.
|
|
|
|
- Create an empty file of 15 kilobytes:
|
|
|
|
`mkfile -n {{15k}} {{file_name}}`
|
|
|
|
- Create a file of a given size and unit (bytes, KB, MB, GB):
|
|
|
|
`mkfile -n {{size}}{{b|k|m|g}} {{file_name}}`
|
|
|
|
- Create two files of 4 megabytes each:
|
|
|
|
`mkfile -n {{4m}} {{first_file_name}} {{second_file_name}}`
|