Exercise : Basic of Linux and Unix MCQ Questions and Answers
Question 1
What command is used with vi editor to move the cursor to the left?
A. |
B. |
C. |
D. |
Correct Answer : A. h
Description :
No answer description available for this question. Let us discuss.
Question 2
Which operator will be used with chmod command to assign absolute permission?
A. |
B. |
C. |
D. |
Correct Answer : B. =
Description :
No answer description available for this question. Let us discuss.
Question 3
Which of the following commands is used to count the total number of lines, words, and characters contained in a file.
A. |
B. |
C. |
D. |
Correct Answer : B. wc
Description :
No answer description available for this question. Let us discuss.
Question 4
What does GNU stand for?
A. |
B. |
C. |
D. |
Correct Answer : D. GNU's not Unix
Description :
No answer description available for this question. Let us discuss.
Question 5
Which command is used to remove the read permission of the file 'note' from both the group and others?
A. |
B. |
C. |
D. |
Correct Answer : A. chmod go-r note
Description :
No answer description available for this question. Let us discuss.
Question 6
Which of the following commands is used to absolutely assign all permissions to the owner, read and write permissions to the group and only executable permission to the others of the file note?
A. |
B. |
C. |
D. |
Correct Answer : D. chmod 761 note
Description :
No answer description available for this question. Let us discuss.
Question 7
The seventh field of /etc/password is
A. |
B. |
C. |
D. |
Correct Answer : C. shell
Description :
No answer description available for this question. Let us discuss.
Question 8
What command is used to change the working directory?
A. |
B. |
C. |
D. |
Correct Answer : C. cd
Description :
No answer description available for this question. Let us discuss.
Question 9
What X-based tool is available for configuring the X Window system?
A. |
B. |
C. |
D. |
Correct Answer : C. XF86Setup
Description :
No answer description available for this question. Let us discuss.
Question 10
Which of the following tool allows you to change your default X Window desktop?
A. |
B. |
C. |
D. |
Correct Answer : A. switchdesk
Description :
No answer description available for this question. Let us discuss.