2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: touch
|
|
|
|
layout: command
|
|
|
|
version: 0.59.0
|
|
|
|
---
|
2020-06-28 04:22:26 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
Creates one or more files.
|
2020-06-28 04:22:26 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
## Signature
|
2020-06-28 04:22:26 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
```> touch (filename) ...rest```
|
2020-06-28 04:22:26 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
## Parameters
|
2020-06-28 04:22:26 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
- `filename`: the path of the file you want to create
|
|
|
|
- `...rest`: additional files to create
|
2020-06-28 04:22:26 +02:00
|
|
|
|
2022-02-20 02:13:33 +01:00
|
|
|
## Examples
|
|
|
|
|
|
|
|
Creates "fixture.json"
|
|
|
|
```shell
|
|
|
|
> touch fixture.json
|
|
|
|
```
|
|
|
|
|
|
|
|
Creates files a, b and c
|
|
|
|
```shell
|
|
|
|
> touch a b c
|
|
|
|
```
|