In Linux
Type mkdir directly in the console to use it.
By default, running the mkdir command with no arguments will create a directory in the current directory. Here is a reference example:
From the above figure, we have created a directory called office. When we run the mkdir command, we are in the /home/pungki directory. So this new directory office is created under the /home/pungki directory. If we use an absolute path - for example /usr/local -, Linux will create a directory under the /usr/local directory.
When Linux finds that the directory you want to create already exists, Linux will prompt us that Linux cannot create it.
Another prerequisite for creating a directory is that you must have access under the target path where you want to create the directory. Mkdir will report this error when you cannot get permission.
In Windows
Keyboard win + R, call up the operating window, type cmd open
创建文件夹我们可以使用
md <folderName>或
mkdir <folderName>命令来创建,其中md和mkdir都是建立新目录make directory的意思,完整命令是
md [盘符:\][路径\]新目录名,比如:md c:\test\myfolder