How to create a directory with mkdir in CentOS

banner dedicated

In many cases, you will have to create a directory manually on your Dedicated Server.
All those commands should be executed in command line.

Create one directory

mkdir directory

Create many directories

mkdir directory1 directory2 directory3
directory1 directory2 directory3

Create parent directory with flag -p

mkdir -p directory1/sub1/sub2

banner dedicated

Colo-Serv Communications has written 32 articles

Premium Dedicated Hosting Services

Leave a Reply

Your email address will not be published. Required fields are marked *

seventeen + 14 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>