JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Unix interview questions part 18
Unix interview questions part 18
Back
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?
A. -b
B. -a
C. -d
D. -x
Show Correct Answer
Correct Answer is :
-a
2. mailx command is used for sending and receiving emails.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
3. 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
Show Correct Answer
Correct Answer is :
un-send mails
4. Which of the following is not an internal command used by mailx?
A. N
B. d
C. q
D. a
Show Correct Answer
Correct Answer is :
a
5. -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
Show Correct Answer
Correct Answer is :
display output with header information
6. Two or more users can have same login name in the output of who command.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
7. history command displays the log of recently used commands.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
8. Which command is used by the user to change their login password in UNIX?
A. man
B. reset
C. passwd
D. cp
Show Correct Answer
Correct Answer is :
passwd
9. Which command handles a character stream by duplicating its input?
A. tree
B. tee
C. tty
D. ls
Show Correct Answer
Correct Answer is :
tee
10. We can use man command for displaying the documentation of man itself.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
11. When backspace doesn’t work to erase characters, we can use _____
A. ctrl-f
B. ctrl-h
C. ctrl-c
D. ctrl-u
Show Correct Answer
Correct Answer is :
ctrl-h
12. For interrupting a command, we can use _____
A. ctrl-f
B. esc
C. ctrl-h
D. ctrl-c
Show Correct Answer
Correct Answer is :
ctrl-c
13. Ctrl-S stops scrolling of screen output and ________
A. locks terminal
B. delete a character
C. locks keyboard
D. delete a line
Show Correct Answer
Correct Answer is :
locks keyboard
14. Which control unlocks the keyboard?
A. ctrl-u
B. ctrl-c
C. ctrl-z
D. ctrl-q
Show Correct Answer
Correct Answer is :
ctrl-q
15. Which command is used for killing a line?
A. ctrl-k
B. del
C. esc
D. ctrl-u
Show Correct Answer
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)?
A. cd
B. cp
C. paste
D. grep
Show Correct Answer
Correct Answer is :
grep
17. Which one of the following is the correct syntax for grep command?
A. grep options filename(s)
B. grep options pattern
C. grep pattern filename
D. grep options pattern filename(s)
Show Correct Answer
Correct Answer is :
grep options pattern filename(s)
18. Which one of the following command will be used for searching “director” in emp.lst?
A. grep “director”
B. grep -v “director” emp.lst
C. grep -director emp.lst
D. grep “director” emp.lst
Show Correct Answer
Correct Answer is :
grep “director” emp.lst
19. When the pattern is not found in a file, grep command silently returns the prompt.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
20. grep command can be used for searching a pattern in more than one file.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
Similar Interview Questions
Search for latest jobs
Find Jobs