Home > Operation and Maintenance > Linux Operation and Maintenance > How to create a new directory in linux system

How to create a new directory in linux system

王林
Release: 2020-05-26 15:44:11
Original
9569 people have browsed it

How to create a new directory in linux system

You can create a new directory through the mkdir command.

Create a directory

mkdir 目录名
Copy after login

For example:

mkdir aa
Copy after login

Create a folder called aa. The location is in the current working directory (can be obtained by entering pwd in the terminal).

Delete directory

rm -r 目录名
Copy after login

For example:

rm -r aa
Copy after login

Delete the aa folder.

Recommended tutorial: linux tutorial

The above is the detailed content of How to create a new directory in linux system. 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