Unix Interview Questions - 16 | Snaprecruit.com

Unix Interview Questions - 16 | Snaprecruit.com

Unix interview questions part 16

Unix interview questions part 16

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

Total Questions: 20

1. If the file is write-protected and the directory has to write permission then we cannot delete the file.

Correct Answer is : FALSE

2. What is execute permission?

Correct Answer is : permission to search or navigate through the directory

3. Which of the following is default permission set for ordinary files?

Correct Answer is : rw-rw-rw-

4. Which of the following is default permission set for directories?

Correct Answer is : rwxrwxrwx

5. A file owner does not have a permission to edit the file but the group to which the file owner belong do have the permission to edit it. Can owner edit the file?

Correct Answer is : No

6. Filter’s are a category of commands that take the advantage of shell redirection feature.

Correct Answer is : TRUE

7. Which command is used for preparing a file for printing?

Correct Answer is : pr

8. pr command adds ____ lines of margin at the top and bottom.

Correct Answer is : 5

9. Which option is used with pr command for printing multi-columnar output?

Correct Answer is : -k

10. Which option is used with pr command to suppress the header and footers?

Correct Answer is : -t

11. Which option is used with pr command to display output along with line numbers?

Correct Answer is : -n

12. -h option is used with pr command to add a header of our choice.

Correct Answer is : TRUE

13. ___ operator is used with pr command to start printing from a specific page.

Correct Answer is : #ERROR!

14. Which command is used for displaying the beginning of a file?

Correct Answer is : head

15. By default, how many lines are displayed using the head command?

Correct Answer is : 10

16. Which option is used with the head command to specify line count to display?

Correct Answer is : -n

17. ___ command is used for displaying the end of the file.

Correct Answer is : tail

18. We can also use -n option with tail command.

Correct Answer is : TRUE

19. Which symbol is used with the tail command to print the file from the selected line?

Correct Answer is : #ERROR!

20. Which of the following command is incorrect?

Correct Answer is : tail -o +5 emp.lst

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon