MCQOPTIONS
Saved Bookmarks
This section includes 12 Mcqs, each offering curated multiple-choice questions to sharpen your Unix knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Two or more users can have same login name in the output of who command. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 2. |
-h option is used with who command for what purpose? |
| A. | display output with header information |
| B. | display output with a more detailed version |
| C. | display output with trailer information |
| D. | display output in columnar form |
| Answer» B. display output with a more detailed version | |
| 3. |
Which of the following is not an internal command used by mailx? |
| A. | N |
| B. | d |
| C. | q |
| D. | a |
| Answer» E. | |
| 4. |
Which of the following function cannot be performed by mailx command? |
| A. | sending and receiving emails |
| B. | reply to the sender |
| C. | forward, delete and print mails |
| D. | un-send mails |
| Answer» E. | |
| 5. |
mailx command is used for sending and receiving emails. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 6. |
Which of the following is a valid option with script command? |
| A. | -b |
| B. | -a |
| C. | -d |
| D. | -x |
| Answer» C. -d | |
| 7. |
script command is used for___________ |
| A. | recording history |
| B. | recording our session |
| C. | recording passwords |
| D. | recording scripts |
| Answer» C. recording passwords | |
| 8. |
For what purpose bc command is used? |
| A. | as a calculator |
| B. | as an editor |
| C. | as a process table viewer |
| D. | for copying files |
| Answer» B. as an editor | |
| 9. |
Which command is used as an alternative to echo command? |
| A. | ls |
| B. | printf |
| C. | wc |
| D. | ps |
| Answer» C. wc | |
| 10. |
Which of the following is not a valid escape sequence in UNIX? |
| A. | \n |
| B. | \t |
| C. | \v |
| D. | \d |
| Answer» E. | |
| 11. |
What are escape sequences? |
| A. | special characters beginning with a \ (backslash) |
| B. | special commands |
| C. | special utilities |
| D. | a sequence of characters |
| Answer» B. special commands | |
| 12. |
echo command is used for _________ |
| A. | displaying errors |
| B. | displaying operating system details |
| C. | displaying diagnostic messages |
| D. | displaying date and time |
| Answer» D. displaying date and time | |