How to make a directory on Linux CLI

This is a quick reference guide on how to create a directory on Linux Based Operating Systems.

To make a directory within an existing directory

root@VPS:~# mkdir vps
root@VPS:~# ls

To create multiple sub-directories using -p option.

rroot@VPS:~# mkdir -p vps/test/test1
root@VPS:~# ls
root@VPS:~# cd vps/test/test1/

If you are new to the world of Linux, an avid Linux enthusiast or a student why not try our 0.99p per month Linux VPS.

Simply click on the screen shot below to find out more or navigate to

Thank you for reading and please feel free to leave any feedback.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s