

MCQOPTIONS
Saved Bookmarks
This section includes 20 Mcqs, each offering curated multiple-choice questions to sharpen your Unix knowledge and support exam preparation. Choose a topic below to get started.
1. |
The shell waits for the command to complete and normally can’t do any work while the command is executing. |
A. | True |
B. | False |
Answer» B. False | |
2. |
Which of the following expression is a correct wildcard pattern if we want an expression in which the last character is not numeric? |
A. | *[!0] |
B. | *[0-9] |
C. | [0-9] |
D. | *[!0-9] |
Answer» E. | |
3. |
In Shell’s interpretive cycle, the shell first scans for ____ in the entered command. |
A. | characters |
B. | priority |
C. | meta-characters |
D. | wildcards |
Answer» D. wildcards | |
4. |
Which command does not terminates unless we log out of the system? |
A. | history |
B. | shell |
C. | echo |
D. | login |
Answer» C. echo | |
5. |
Which shell is the most common and best to use? |
A. | Korn shell |
B. | POSIX shell |
C. | C shell |
D. | Bash shell |
Answer» E. | |
6. |
WHICH_SHELL_IS_THE_MOST_COMMON_AND_BEST_TO_USE??$ |
A. | Korn shell |
B. | POSIX shell |
C. | C shell |
D. | Bash shell |
Answer» E. | |
7. |
In Shell’s interpretive cycle, the shell first scans for ____ in the entered command.$# |
A. | characters |
B. | priority |
C. | meta-characters |
D. | wildcards |
Answer» D. wildcards | |
8. |
Which_command_does_not_terminates_unless_we_log_out_of_the_system?$ |
A. | history |
B. | shell |
C. | echo |
D. | login |
Answer» C. echo | |
9. |
To change the login shell in some system (like Linux) we can use ____ command. |
A. | chshell |
B. | chshl |
C. | chsh |
D. | ch |
Answer» D. ch | |
10. |
Which of the following is/are true about Shell? |
A. | Shell is a multi-faceted program |
B. | Shell is a command interpreter |
C. | Shell provides us with an environment to work in |
D. | Shell is a multi-faceted, command interpreter and provides an environment to work in |
Answer» E. | |
11. |
The shell waits for the command to complete and normally can’t do any work while the command is executing.$ |
A. | True |
B. | False |
Answer» B. False | |
12. |
Which_of_the_following_expression_is_a_correct_wildcard_pattern_if_we_want_an_expression_in_which_the_last_character_is_not_numeric? |
A. | *[!0]               |
B. | *[0-9]               |
C. | [0-9]               |
D. | *[!0-9]              |
Answer» E. | |
13. |
Which one of the following command will display the name of the shell we are working on? |
A. | echo shell |
B. | echo?# |
C. | echo?#SHELL |
D. | echo?#$ |
Answer» D. echo?#$ | |
14. |
What is the default symbol for command prompt in C shell? |
A. | $ |
B. | % |
C. | |
Answer» C. | |
15. |
What is the default symbol for command prompt in Bourne shell? |
A. | $ |
B. | % |
C. | |
Answer» B. % | |
16. |
In UNIX there are ___ major types of shells. |
A. | 2 |
B. | 3 |
C. | 4 |
D. | many |
Answer» B. 3 | |
17. |
The prompt issued by the shell is called ______ |
A. | prompt |
B. | command translator |
C. | command prompt |
D. | command executor |
Answer» D. command executor | |
18. |
There can be multiple kernels on a single UNIX system. |
A. | True |
B. | False |
Answer» C. | |
19. |
On a UNIX system, there can be ____ shells running simultaneously. |
A. | 1 |
B. | 2 |
C. | many |
D. | 4 |
Answer» D. 4 | |
20. |
Shell provides us with an interface to the operating system. |
A. | True |
B. | False |
Answer» B. False | |