Unix technical interview questions and answers are frequently asked in system administration, DevOps, backend development, and support engineering roles. Unix forms the base for Linux and macOS, so companies expect candidates to understand file permissions, commands, shell scripting, process management, filters, pipes, and environment variables. Interviews in TCS, Infosys, Wipro, Cognizant, Capgemini, and Accenture often include Unix questions during both technical rounds and written tests. This guide explains frequently asked Unix commands and concepts using simple language, making it easy for freshers and experienced candidates to prepare. You can also download Unix interview questions PDFs and practice mock commands for better preparation.
Showing 3 of 53 questions
51. For which kind of fault the page is checked first?
The page is first checked for the validity fault, as soon as it is found that the page is invalid (valid bit is clear), the validity fault handler returns immediately, and the process incur the validity page fault. Kernel handles the validity fault and the process will incur the protection fault if any one is present.
52. In what way the protection fault handler concludes?
After finishing the execution of the fault handler, it sets the modify and protection bits and clears the copy on write bit. It recalculates the process-priority and checks for signals.
53. How the Kernel handles both the page stealer and the fault handler?
The page stealer and the fault handler thrash because of the shortage of the memory. If the sum of the working sets of all processes is greater that the physical memory then the fault handler will usually sleep because it cannot allocate pages for a process. This results in the reduction of the system throughput because Kernel spends too much time in overhead, rearranging the memory in the frantic pace.