Home > Operation and Maintenance > CentOS > How to create files in centos

How to create files in centos

王林
Release: 2020-03-17 16:36:31
Original
11239 people have browsed it

How to create files in centos

You can use the touch command, and touch can be used to create binary files.

Usage: touch file name, there must be a space between touch and file name.

(Recommended tutorial: centos usage tutorial)

For example, if I want to create a binary file with the file name abc, then the formula in Linux should be written as:

#touch abc
Copy after login

How to create files in centos

After the creation is completed, use the ls command to view the file we created. You can see that the abc file pointed by the red arrow in the picture is the newly created file.

How to create files in centos

Related video tutorial recommendations: linux video tutorial

The above is the detailed content of How to create files in centos. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template