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

How to create a new directory in linux system

王林
王林Original
2020-05-26 15:44:119545browse

How to create a new directory in linux system

You can create a new directory through the mkdir command.

Create a directory

mkdir 目录名

For example:

mkdir aa

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 目录名

For example:

rm -r aa

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!

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