adplus-dvertising
frame-decoration

Question

What does the following command do?

$ mkdir dir dir/dir_01/dir_02

a.

create dir, dir_01 and dir_02

b.

creates dir_02

c.

creates dir only

d.

throws an error

Posted under Unix File System UNIX

Answer: (a).create dir, dir_01 and dir_02

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does the following command do? $ mkdir dir dir/dir_01/dir_02

Similar Questions

Discover Related MCQs

Q. Sometimes we are unable to create a directory because ______________

Q. Which command is used for removing an empty directory?

Q. Multiple directories can be removed using single rmdir command.

Q. For creating or removing directories, the user must be positioned above the directory or in the parent directory of the directory, on which the operation is to performed.

Q. If rmdir dir001 fails, what could be the reason(s)?

Q. pwd and echo $HOME will display the same output.

Q. What is an absolute pathname?

Q. What is a relative pathname?

Q. Which of the following cryptic symbols are used in relative pathname?

Q. $ cd . . is used to move ___ level up in the file hierarchy.

Q. $ cp file_01 copies the file named file_01 in ____ directory

Q. cd /bin/user/directory/abc is an example of relative pathname.

Q. The output of $HOME is an example of absolute pathname.

Q. The output of the following command is __________

$ cp abd/ .user_06

Q. For moving two level up in the file hierarchy system using cd command once, we separates ( . . ) by which symbol?

Q. Which option is used with ls command for long listing of files with seven attributes?

Q. Which option is used with ls to display attributes of the directory ?

Q. –a option is used with ls command for what purpose?

Q. Which option is used with ls command to produce multi columnar output?

Q. What is the collating sequence of ls command for listing files?