| 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 option is used with the tail command for extracting bytes instead of lines?

Correct Answer is : -c

2. To extract specific columns from a file, ____ command is used.

Correct Answer is : cut

3. The expression cut -c -3 emp.lst will cut columns number _____

Correct Answer is : 45294

4. ____ option is used with the cut command for cutting fields.

Correct Answer is : -f

5. What is the default delimiter used by the cut command for cutting fields?

Correct Answer is : tab

6. Which option is used with the cut command for cutting field base on the value of our specified delimiter?

Correct Answer is : -d

7. We have to specify whether we want to cut fields or columns while using cut command.

Correct Answer is : TRUE

8. The following command will produce an error. $ cut -d “|” -f 1,4 emp.lst

Correct Answer is : FALSE

9. Which one of the following commands is incorrect?

Correct Answer is : $ tail -c 500 foo

10. Which command is used for pasting files?

Correct Answer is : paste

11. Whatever we have cut using cut command can be pasted back using paste command but vertically.

Correct Answer is : TRUE

12. paste command uses space as the default field delimiter.

Correct Answer is : FALSE

13. _____ option is used with paste command if we want to specify our own delimiter.

Correct Answer is : -d

14. Which option is used with paste command for joining lines?

Correct Answer is : -s

15. echo command is used for _________

Correct Answer is : displaying diagnostic messages

16. What are escape sequences?

Correct Answer is : special characters beginning with a \ (backslash)

17. Which of the following is not a valid escape sequence in UNIX?

Correct Answer is : \d

18. Which command is used as an alternative to echo command?

Correct Answer is : printf

19. For what purpose bc command is used?

Correct Answer is : as a calculator

20. script command is used for___________

Correct Answer is : recording our session