Home > Article > Operation and Maintenance > 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!