Exercise : Basic of Linux and Unix MCQ Questions and Answers
1. Which of the following subdirectory(ies) contains the system boot scripts.
A. |
B. |
C. |
D. |
Correct Answer : D. /etc
Description :
No answer description available for this question. Let us discuss.





2. What command is used with file named 'letter' to remove the executable permission from the user and assign read permission to the group and others?
A. |
B. |
C. |
D. |
Correct Answer : C. chmod u - x, go + r letter
Description :
No answer description available for this question. Let us discuss.





3. The special shell variable $* is used
A. |
B. |
C. |
D. |
Correct Answer : D. to list the positional parameters
Description :
No answer description available for this question. Let us discuss.





4. Which command is used to terminate all processes in your own system except the login shell?
A. |
B. |
C. |
D. |
Correct Answer : D. kill 0
Description :
No answer description available for this question. Let us discuss.





5. What command is used to query for a specific package with RPM?
A. |
B. |
C. |
D. |
Correct Answer : B. rpm -q
Description :
No answer description available for this question. Let us discuss.





6. What type of addressing format is used by Class A network.
A. |
B. |
C. |
D. |
Correct Answer : D. Net.Node.Node.Node
Description :
No answer description available for this question. Let us discuss.





7. The agency that sits between the user and the UNIX system is called the
A. |
B. |
C. |
D. |
Correct Answer : A. shell
Description :
No answer description available for this question. Let us discuss.





8. What command is used with vi editor to append text at end of line?
A. |
B. |
C. |
D. |
Correct Answer : A. A
Description :
No answer description available for this question. Let us discuss.





9. Which of following commands is used for an automatic reminder service?
A. |
B. |
C. |
D. |
Correct Answer : A. calendar
Description :
No answer description available for this question. Let us discuss.





10. The UNIX file system stores a data in physical blocks of
A. |
B. |
C. |
D. |
Correct Answer : A. 512 bytes
Description :
No answer description available for this question. Let us discuss.




