Krishna Logo
qa training in canada now
Divied
Call: Anusha @ 1 (877) 864-8462

 

Latest News
Home Navigation Divied
INTERVIEW Navigation Divied UNIX INTERVIEW QUESTIONS
Showing 11 - 20 of 324 Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next
UNIX INTERVIEW QUESTIONS
 
11 What Are The Differences Among A System Call, A Library Function, And A UNIX Command?
Date Posted: 07/02/2012

Ans: A system call is part of the programming for the kernel. A library function is a program that is not part of the kernel but which is available to users of the system. UNIX commands, however, are stand-alone programs; they may incorporate both system calls and library functions in their programming.

 
 
12Briefly Describe The Shell’s Responsibilities?
Date Posted: 07/02/2012

Ans:
- Program execution
- variable and file name substitution
- I/O redirection
- pipeline hookup
- environment control
- interpreted programming language

 
 
13What Is The Chief Difference Between The –v And –x Option S To Set?
Date Posted: 07/02/2012

Ans: The –v option echoes each command before arguments and variables have been substituted for; the –x option echoes the commands after substitution has taken place.

 
 
14Is There A Way To Erase All Files In The Current Directory, Including All Its Sub-directories, Using Only One Command?
Date Posted: 07/02/2012

Ans: Yes, that is possible. Use “rm –r *” for this purpose. The rm command is for deleting files. The –r option will erase directories and subdirectories, including files within. The asterisk represents all entries.

 
 
15What Is A Typical Syntax Being Followed When Issuing Commands In Shell?
Date Posted: 07/02/2012

Ans: Typical command syntax under the UNIX shell follows the format:
Command [-argument] [-argument] [--argument] [file]

 
 
16What Scheme Does The Kernel In Unix System V Follow While Choosing A Swap Device Among The Multiple Swap Devices?
Date Posted: 07/02/2012

Ans: Kernel follows Round Robin scheme choosing a swap device among the multiple swap devices in Unix System V.

 
 
17What Are The Criteria For Choosing A Process For Swapping Out Of The Memory To The Swap Device?
Date Posted: 07/02/2012

Ans: The process’s memory resident time, Priority of the process and the nice value.

 
 
18What Are The Criteria For Choosing A Process For Swapping Into Memory From The Swap Device?
Date Posted: 07/02/2012

Ans: The resident time of the processes in the swap device, the priority of the processes and the amount of time the processes had been swapped out.

 
 
19Is The Process Before And After The Swap Are The Same? Give Reason.
Date Posted: 07/02/2012

Ans: Process before swapping is residing in the primary memory in its original form. The regions (text, data and stack) may not be occupied fully by the process, there may be few empty slots in any of the regions and while swapping Kernel do not bother about the empty slots while swapping the process out. After swapping the process resides in the swap (secondary memory) device. The regions swapped out will be present but only the occupied region slots but not the empty slots that were present before assigning. While swapping the process once again into the main memory, the Kernel referring to the Process Memory Map, it assigns the main memory accordingly taking care of the empty slots in the regions.

 
 
20How Is The Command “$cat File2 “different From “$cat >file2 And >> Redirection Operators?
Date Posted: 07/02/2012

 Ans: is the output redirection operator when used it overwrites while >> operator appends into the file.

 
Showing 11 - 20 of 324 Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next
Shadow Bottom
 
 
© 2005 -