mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 14:55:56 +02:00
mkfile: add page (#2458)
This commit is contained in:
parent
22bdcd575b
commit
2bcf312629
1 changed files with 15 additions and 0 deletions
15
pages/osx/mkfile.md
Normal file
15
pages/osx/mkfile.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue