Sei sulla pagina 1di 4

Web Site Name: www.atoztarget.

com

http://www.atoztarget.com/2014/01/100-top-unix-interview-questions-and.html

100 TOP Unix Interview Questions and Answers pdf free download

Unix Shell Scripting Interview Questions and Answers for freshers and experienced
pdf
1. How are devices represented in UNIX?
2. What is inode?
3. Brief about the directory representation in UNIX?
4. What are the Unix system calls for I/O?
5. How do you change File Access Permissions?
6. What are links and symbolic links in UNIX file system?
7. What is a FIFO?
8. How do you create special files like named pipes and device files?
9. Discuss the mount and unmount system calls ?
10. How does the inode map to data block of a file?
11. What is a shell?
12. Brief about the initial process sequence while the system boots up?
13. What are various IDs associated with a process?
14. Explain fork() system call?
15. Predict the output of the following program code
16. Predict the output of the following program code
17. List the system calls used for process management:
18. How can you get/set an environment variable from a program?
19. How can a parent and child process communicate?
20. What is a zombie?
21. What are the process states in Unix?
22. What Happens when you execute a program?
23. What Happens when you execute a command?
24. What is a Daemon?
25. What is ps command for?
26. How would you kill a process?
27. What is an advantage of executing a process in background?
28. How do you execute one program from within another?
29. What is IPC? What are the various schemes available?
30. What is the difference between Swapping and Paging?
31. What is major difference between the Historic Unix and the new BSD release of
Unix System V in terms of Memory Management?
32. What is the main goal of the Memory Management?
33. What is a Map?
34. What scheme does the Kernel in Unix System V follow while choosing a swap
device among the multiple swap devices?
35. What is a Region?
36. What are the events done by the Kernel after a process is being swapped out
from the main memory?
37. Is the Process before and after the swap are the same? Give reason.
38. What do you mean by u-area (user area) or u-block?
39. What are the entities that are swapped out of the main memory while swapping
the process out of the main memory?
40. What is Fork swap?
41. What is Expansion swap?
42. How the Swapper works?
43. What are the processes that are not bothered by the swapper? Give Reason.
44. What are the requirements for a swapper to work?
45. What are the criteria for choosing a process for swapping into memory from the
swap device?
46. What are the criteria for choosing a process for swapping out of the memory to
the swap device?
47. What do you mean by nice value?
48. What are conditions on which deadlock can occur while swapping the
processes?
49. What are conditions for a machine to support Demand Paging?
50. What is the principle of locality?
51. What is the working set of a process?
52. What is the window of the working set of a process?
53. What is called a page fault?
54. What are data structures that are used for Demand Paging?
55. What are the bits that support the demand paging?
56. How the Kernel handles the fork() system call in traditional Unix and in the
System V Unix, while swapping?
57. Difference between the fork() and vfork() system call?
58. What is BSS(Block Started by Symbol)?
59. What is Page-Stealer process?
60. Name two paging states for a page in memory?
61. What are the phases of swapping a page from the memory?
62. What is page fault? Its types?
63. In what way the Fault Handlers and the Interrupt handlers are different?
64. What is validity fault?
65. What does the swapping system do if it identifies the illegal page for swapping?
66. What are states that the page can be in, after causing a page fault?
67. In what way the validity fault handler concludes?
68. At what mode the fault handler executes?
69. What do you mean by the protection fault?
70. How the Kernel handles the copy on write bit of a page, when the bit is set?
71. For which kind of fault the page is checked first?
72. In what way the protection fault handler concludes?
73. How the Kernel handles both the page stealer and the fault handler?
74. Explain different types of Unix systems.
75. Explain kernal and shell.
76. What is ex and vi ?
77. Which are typical system directories below the root directory?
78. Construct pipes to execute the following jobs?
79. Explain the following commands?
80. What is the significance of the tee command?
81. What does the command $who | sort logfile > newfile do?
82. What does the command $ls | wc l > file1 do?
83. Which of the following commands is not a filter man , (b) cat , (c) pg , (d) head
84. How is the command $cat file2 different from $cat >file2 and >> redirection
operators ?
85. Explain the steps that a shell follows while processing a command.
86. What difference between cmp and diff commands?
87. What is the use of grep command?
88. What is the difference between cat and more command?
89. Write a command to kill the last background job?
90. Which command is used to delete all files in the current directory and all its sub-
directories?
91. Write a command to display a files contents in various formats?
92. What will the following command do?
93. Is it possible to create new a file system in UNIX?
94. Is it possible to restrict incoming message?
95. What is the use of the command ls -x chapter[1-5]
96. Is du a command? If so, what is its use?
97. Is it possible to count number char, line in a file; if so, How?
98. Name the data structure used to maintain file identification?
99. How many prompts are available in a UNIX system?
100. How does the kernel differentiate device files and ordinary files?

Potrebbero piacerti anche