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 231 - 240 of 324 Previous | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | Next
UNIX INTERVIEW QUESTIONS
 
231If One Process Is Inserting Data Into Your MySQL Database? How Will You Check How Many Rows  Inserted Into Every Second?
Date Posted: 07/02/2012

Ans: “watch” command in UNIX  is  repeatedly used to execute command provided with specified delay.

 
 
232What Is Ephemeral Port In UNIX?
Date Posted: 07/02/2012

Ans: Ephemeral ports are  port used by Operating system for client sockets. There is a specific range on  which OS can open any port specified by ephemeral port range.

 
 
233How Do You Find which Remote Hosts Are Connecting To Your Host On A Particular Port Say 10123?
Date Posted: 07/02/2012

Ans: By using netstat command execute netstat -a | grep “port” and it will list the entire host  which is connected to this host on port 10123.

 
 
234How Do You Find Which Processes Are Using A Particular File?
Date Posted: 07/02/2012

Ans: By using ls of   command in UNIX. It will list down PID of all the process which is using  a particular file.

 
 
235What Is The Use Of ‘grep’ Command?
Date Posted: 07/02/2012

Ans: grep’ is a pattern search command. It searches for the pattern, specified in the command line with
appropriate option, in a file(s).
Syntax: grep
Example: grep 99mx mcafile

 
 
Date Posted: 07/02/2012

Ans: There are four possible results from this call: ‘kill()’ returns 0. This implies that a process exists with the given PID, and the system would allow you to send signals to it. It is system-dependent whether the process could ...  

 
 
237How To Terminate A Process Which Is Running And The Specialty On Command Kill 0?
Date Posted: 07/02/2012

Ans: With the help of kill command we can terminate the process.
Syntax: kill pid
Kill 0 – kills all processes in your system except the login shell.

 
 
238What Is Redirection?
Date Posted: 07/02/2012

Ans: Directing the flow of data to the file or from the file for input or output.
Example : ls > wc

 
 
239What Are Shell Variables?
Date Posted: 07/02/2012

Ans: Shell variables are special variables, a name-value pair created and maintained by the shell.
Example: PATH, HOME, MAIL and TERM

 
 
240How Does The Kernel Differentiate Device Files And Ordinary Files?
Date Posted: 07/02/2012

Ans: Kernel checks ‘type’ field in the file’s inode structure.

 
Showing 231 - 240 of 324 Previous | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | Next
Shadow Bottom
 
 
© 2005 -