MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which command is used for creating directories?
A
rmdir
B
mkdir
C
cd
D
cp
Explanation: 

Detailed explanation-1: -Use the mkdir command to create one or more directories specified by the Directory parameter. Each new directory contains the standard entries dot (.) and dot dot (..). You can specify the permissions for the new directories with the-m Mode flag.

Detailed explanation-2: -The mkdir stands for ‘make directory’. With the help of mkdir command, you can create a new directory wherever you want in your system. Just type “mkdir <dir name>, in place of <dir name> type the name of new directory, you want to create and then press enter.

Detailed explanation-3: -The mkdir command in Linux/Unix allows users to create or make new directories. mkdir stands for “make directory.” With mkdir, you can also set permissions, create multiple directories (folders) at once, and much more.

Detailed explanation-4: -Create a directory The basic syntax for using this command is mkdir dir (replace dir with the desired name of your directory).

Detailed explanation-5: -The mkdir command is is used to create new directories or folders. Say you need to create a folder name dir1 in Linux, type: mkdir dir1.

There is 1 question to complete.