| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

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

Total Questions: 20

1. Which command is used for extracting the details of the operating system?

Correct Answer is : uname

2. The sequences of directories that a shell searches while looking for a command is specified in the PATH variable.

Correct Answer is : TRUE

3. Options are also arguments but begin with a -.

Correct Answer is : TRUE

4. Which of the following is not a valid option of uname?

Correct Answer is : -z

5. How can we specify more than one command in the command line at the same time?

Correct Answer is : using ;

6. Which command is used to display the documentation of commands in UNIX?

Correct Answer is : man

7. Which command is used for displaying date and calendar in UNIX?

Correct Answer is : date and cal

8. What is the output of who command?

Correct Answer is : display information about users who are currently logged in.

9. What are meta-characters?

Correct Answer is : special characters having predefined meaning to the shell

10. Which command is used for displaying date in the format dd/mm/yyyy ?

Correct Answer is : date +”%d/%m/%Y”

11. Which of the following symbols are used for searching a pattern in vi?

Correct Answer is : / and ?

12. ____ searches for a first instance of a pattern in forwarding direction.

Correct Answer is : /

13. ____ searches for a first instance of a pattern in the backward direction.

Correct Answer is : ?

14. Which command is used for repeating the search in the same direction?

Correct Answer is : n

15. Which command is used to reverse the direction of repeating the search?

Correct Answer is : N

16. Substitution command is an ex-mode command.

Correct Answer is : TRUE

17. Which of the following symbol is used for substitution command?

Correct Answer is : s

18. Which of the following is a correct syntax for performing substitution on a file?

Correct Answer is : :address/source_pattern/target_pattern/flag

19. We cannot leave the flag field empty while performing the substitution.

Correct Answer is : FALSE

20. The target pattern is optional.

Correct Answer is : TRUE