Krishna Logo
Divied
Call: Sana @ (571) 386-2972

 

Loading
Latest News
Home Navigation Divied
INTERVIEW Navigation Divied UNIX INTERVIEW QUESTIONS
Showing 11 - 20 of 323 Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next
UNIX INTERVIEW QUESTIONS
 
11Briefly 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

 
 
12What 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.

 
 
13Is 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.

 
 
14What 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]

 
 
15What 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.

 
 
16What 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.

 
 
17What 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.

 
 
18Is 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.

 
 
19How 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.

 
 
20What Does The Command “$ls | WC –l > File1” Do?
Date Posted: 07/02/2012

Ans: ls become the input to WC which counts the number of lines it receives as input and instead of displaying this count; the value is stored in file1.

 
Showing 11 - 20 of 323 Previous | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Next
Shadow Bottom
 
 
© 2005 - 2018 Krishna Training.
Designed & Developed By BitraNet