Unix Directory Management MCQs

Directory Management MCQs : This section focuses on "Directory Management" in unix. These Multiple Choice Questions (MCQ) should be practiced to improve the unix skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. The directory in which you find yourself when you first login is called your ______________.

A. Root directory
B. Shell directory
C. Home directory
D. Kernel directory

View Answer


2. which command is used to create a directory?

A. makedir
B. mkdirectory
C. makedirectory
D. mkdir

View Answer


3. Which command is used to list all the directory?

A. lsdir
B. listdir
C. ls
D. dir

View Answer


4. which command is used to rename Directories?

A. rename
B. mv
C. rm
D. rmdir

View Answer


5. which command is used to change the directory?

A. cd
B. mv
C. ls
D. cm

View Answer


6. PWD stand for?

A. Parent working directory
B. present working directory
C. past working directory
D. None of the above

View Answer


7. Which of the following is true about Absolute pathnames?

A. A pathname is absolute, if it is described in relation to root.
B. absolute pathnames does not begin with a /.
C. absolute pathnames always begin with a /
D. Both A and C

View Answer


8. In how many categories are links divided?

A. 1
B. 2
C. 3
D. 4

View Answer


9. Which option is used with ls command to list the directory attributes rather than its contents?

A. -a
B. -b
C. -c
D. -d

View Answer


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

A. /
B. \\
C. //
D. \

View Answer





Discussion



* You must be logged in to add comment.