1. Which of the following is a valid option with script command?
2. mailx command is used for sending and receiving emails.
3. Which of the following function cannot be performed by mailx command?
Correct Answer is : un-send mails
4. Which of the following is not an internal command used by mailx?
5. -h option is used with who command for what purpose?
Correct Answer is : display output with header information
6. Two or more users can have same login name in the output of who command.
7. history command displays the log of recently used commands.
8. Which command is used by the user to change their login password in UNIX?
Correct Answer is : passwd
9. Which command handles a character stream by duplicating its input?
10. We can use man command for displaying the documentation of man itself.
11. When backspace doesn’t work to erase characters, we can use _____
Correct Answer is : ctrl-h
12. For interrupting a command, we can use _____
Correct Answer is : ctrl-c
13. Ctrl-S stops scrolling of screen output and ________
Correct Answer is : locks keyboard
14. Which control unlocks the keyboard?
Correct Answer is : ctrl-q
15. Which command is used for killing a line?
Correct Answer is : ctrl-u
16. Which one of the following command is used for searching for a pattern in one or more file(s)?
17. Which one of the following is the correct syntax for grep command?
Correct Answer is : grep options pattern filename(s)
18. Which one of the following command will be used for searching “director” in emp.lst?
Correct Answer is : grep “director” emp.lst
19. When the pattern is not found in a file, grep command silently returns the prompt.
20. grep command can be used for searching a pattern in more than one file.