You can use the mkdir command to create it. The specific command is
mkdir / test
mkdir Command syntax introduction:
mkdir [-p] dirName
Parameter description:
-p Make sure the directory name exists. If it does not exist, create one.
Example:
Create a test directory in the /urs/ directory.
Execute the following command
mkdir /urs/test
The result is as shown:
##Recommended tutorial:The above is the detailed content of How to create a test directory in the root directory in Linux system. For more information, please follow other related articles on the PHP Chinese website!