- 既にファイルが存在しない場合
touch path/to/file.txt
- 既にファイルが存在していて、空に上書きしたい場合
: > path/to/file.txt
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
touch path/to/file.txt
: > path/to/file.txt
Register as a new user and use Qiita more conveniently
Go to list of users who liked