adplus-dvertising
frame-decoration

Question

Which command is used for removing an empty directory?

a.

mkdir

b.

rmdir

c.

rmdir

d.

remove

Posted under UNIX

Answer: (c).rmdir

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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?

Q. How can we identify executables and directories from the output of ls command?

Q. $ ls -R outputs all files and subdirectories in a recursive manner.