ALL > Computer and Education > courses > university courses > undergraduate courses > computer essentials > > > 15计算机科学与技术全英文 > >
homework5 Version 0
👤 Author: by 1146715683qqcom 2018-04-19 02:51:30
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:

mkdir command

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

Please login to reply. Login

Reversion History

Loading...
No reversions found.