How to create a test directory in the root directory in Linux system

王林
Release: 2020-05-28 13:44:10
Original
24447 people have browsed it

How to create a test directory in the root directory in Linux system

You can use the mkdir command to create it. The specific command is

mkdir / test
Copy after login

mkdir Command syntax introduction:

mkdir [-p] dirName
Copy after login

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
Copy after login

The result is as shown:

How to create a test directory in the root directory in Linux system

##Recommended tutorial:

linux 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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!