Get the App
SLTechnology News&Howtos  ›  Development  › 

How to create an empty file with length 0 by shell

Shulou Source: shulou.com Published: 2022-06-01 05:07:24 11月12日 Update

This article will explain in detail how shell creates an empty file with a length of 0. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Create an empty file of length 0

Execute the > file_name command or touch file_name command.

Shell script

Shell script (shell script) is a scripting program written for shell.

Shell in the industry usually refers to shell scripts, but readers should know that shell and shell script are two different concepts.

This is the end of this article on "how to create an empty file with length 0 in shell". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Scripts files length articles commands more different good practical industry two content said articles friends concepts knowledge programs readers references Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS NVidia Shulou Information MariaDB Docker