Home Web Hosting Linux Tutorials Making Directories in Linux Tutorial (the mkdir command)

Making Directories in Linux Tutorial (the mkdir command)

Making Directories in Linux Tutorial
Making Directories in Linux Tutorial

When it comes to making directories in Linux it couldn’t get simpler using the mkdir command. Simply type in mkdir and your folder name.

When it comes to making a folder in Linux you will need to type in # mkdir and then run the name of your folder you will like to add, in this case, we will add a “testfolder”.

To do this we use the following Linux command

# mkdir testfolder
making folder in linux
making folder in Linux

Of course, then we will need to check if the folder was created so we check this using the # ls command.

# ls

 

More info on how to use the # ls command here.

Once you run the # ls command you will see that the folder has been successfully created, in this case, we made the “testfolder” appear in your home dir location.

checking for new folder that you have made in linux
Checking for the new folder that you have made in Linux

it’s simple as that making a new folder in Linux

More Linux Tutorials on directories with Linux UNIX commands

LEAVE A REPLY

Please enter your comment!
Please enter your name here