Home>Article>Operation and Maintenance> How to create a new folder in linux

How to create a new folder in linux

藏色散人
藏色散人 Original
2023-01-03 11:28:33 33584browse

How to create a new folder in Linux: 1. Open the terminal command window; 2. Create the folder by using the root account to execute the "mkdir test" command; 3. Then use the "touch xxx" command to create the folder in the test folder Just create the file.

How to create a new folder in linux

#The operating environment of this tutorial: linux5.9.8 system, Dell G3 computer.

How to create a new folder in Linux?

Creating files and folders in Linux

##1. Create a folder

Command:

mkdir Folder name

Example:

There is no test file in the home directory at the beginning folder, the command will generate

How to create a new folder in linux

How to create a new folder in linux

How to create a new folder in linux

## after the command is created. 2. Create fileCommand:

touch file name

Example:

There is no boot.properties in the test folder at first. After the command is created, Generate

How to create a new folder in linux

How to create a new folder in linux

How to create a new folder in linux

# 3. Precautions

Creating files or folders requires permission operations, so the root account is required to give sub-account permissions. You can also create it directly with the root account

Recommended learning: "How to create a new folder in linuxLinux Video Tutorial

"

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

Statement:
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