

MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Unix knowledge and support exam preparation. Choose a topic below to get started.
1. |
WHICH_COMMAND_IS_USED_FOR_PRINTING_A_FILE??$ |
A. | lp |
B. | pr |
C. | pg |
D. | more |
Answer» C. pg | |
2. |
Which option is used for printing multiple copies of a file using lp command?$ |
A. | -l |
B. | -i |
C. | -t |
D. | -n |
Answer» B. -i | |
3. |
Which option is used with lp command if there are more than one printers in the system?$ |
A. | -t |
B. | -d |
C. | -i |
D. | -p |
Answer» E. | |
4. |
Which command is used for knowing the file type? |
A. | file |
B. | type |
C. | filetype |
D. | type of file |
Answer» D. type of file | |
5. |
cancel printing from printer ‘prl’$ |
A. | cancel printing current job |
B. | cancel printing job number 320 on printer name ‘prl’ |
C. | undefined behavior |
Answer» B. cancel printing job number 320 on printer name ‚Äö√Ñ√∂‚àö√ë‚àö‚â§prl‚Äö√Ñ√∂‚àö√ë‚àö¬• | |
6. |
tx? |
A. | reads word count from newfile |
B. | reads word count from sample.txt and write it to newfile |
C. | error is produced |
Answer» B. reads word count from sample.txt and write it to newfile | |
7. |
wc command can also work on a data stream. |
A. | True |
B. | False |
Answer» B. False | |
8. |
Which option is used for counting the number of lines in a file only. |
A. | -l |
B. | -W |
C. | -c |
D. | -w |
Answer» B. -W | |
9. |
wc command cannot take multiple filenames as arguments. |
A. | True |
B. | False |
Answer» C. | |
10. |
Which command is used for counting words, lines and characters in a file? |
A. | diff |
B. | count |
C. | man |
D. | wc |
Answer» E. | |