Exercise : Basic of Linux and Unix MCQ Questions and Answers
Question 1
Which command is used to display the top of the file?
A. |
B. |
C. |
D. |
Correct Answer : C. head
Description :
No answer description available for this question. Let us discuss.
Question 2
Which of the following tool is used to partition your hard drive?
A. |
B. |
C. |
D. |
Correct Answer : B. fdisk
Description :
No answer description available for this question. Let us discuss.
Question 3
Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3?
A. |
B. |
C. |
D. |
Correct Answer : B. chmod u+x emp[1-3]
Description :
No answer description available for this question. Let us discuss.
Question 4
Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?
A. |
B. |
C. |
D. |
Correct Answer : D. who | tee user.lst
Description :
No answer description available for this question. Let us discuss.
Question 5
Which of the following subdirectory(ies) contains the device files?
A. |
B. |
C. |
D. |
Correct Answer : C. /dev
Description :
No answer description available for this question. Let us discuss.
Question 6
GNOME is based on
A. |
B. |
C. |
D. |
Correct Answer : A. CORBA toolkit
Description :
No answer description available for this question. Let us discuss.
Question 7
What sign is used to back up over typing errors in vi?
A. |
B. |
C. |
D. |
Correct Answer : B. #
Description :
No answer description available for this question. Let us discuss.
Question 8
Which of the following command lists the last 10 lines of a file?
A. |
B. |
C. |
D. |
Correct Answer : B. tail
Description :
No answer description available for this question. Let us discuss.
Question 9
The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is
A. |
B. |
C. |
D. |
Correct Answer : A. tee
Description :
No answer description available for this question. Let us discuss.
Question 10
What package group will you select during the custom configuration to enable the machine to communicate with Windows clients?
A. |
B. |
C. |
D. |
Correct Answer : D. SMB (Samba) Connectivity
Description :
No answer description available for this question. Let us discuss.