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
Of course, then we will need to check if the folder was created so we check this using the # ls command.
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.
it’s simple as that making a new folder in Linux
More Linux Tutorials on directories with Linux UNIX commands
- Listing Files and Directories in Linux Tutorial Guide
- Linux Changing to a Different Directory Tutorial Guide
- Checking Current Dir & Parent Directory in Linux Tutorial
- URL Pathnames & Path Directory in Linux