Unix interview questions part 18

Unix interview questions part 18

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. Which of the following is a valid option with script command?

Correct Answer is : -a

2. mailx command is used for sending and receiving emails.

Correct Answer is : TRUE

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?

Correct Answer is : a

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.

Correct Answer is : TRUE

7. history command displays the log of recently used commands.

Correct Answer is : TRUE

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?

Correct Answer is : tee

10. We can use man command for displaying the documentation of man itself.

Correct Answer is : TRUE

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)?

Correct Answer is : grep

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.

Correct Answer is : TRUE

20. grep command can be used for searching a pattern in more than one file.

Correct Answer is : TRUE

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon