I am new to Ubuntu and learning basic Linux commands. I want to know how to create a new directory (or folder) using the command line.
If you want to create the folder in your current directory, you can just use the folder name with this command, like this:
mkdir my_folder
If you want to create the directory somewhere else you can try like this.
mkdir /home/user/Documents/my_folder
In this command:
mkdir
is the command to create a directory./home/user/Documents/my_folder
is the path where the new folder will be created. You can change this path according to where you want the folder to be.