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 221 - 230 of 324 Previous | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | Next
UNIX INTERVIEW QUESTIONS
 
221How Do You Check if A Particular Process Is Listening On A Particular Port On Remote Host?
Date Posted: 07/02/2012

Ans: By using telnet command for example “telnet hostname port”, if it successfully connects then some process is listening on that port.

 
 
222How Do You Set environment Variable Which Will Be Accessible Form Sub Shell?
Date Posted: 07/02/2012

Ans: By using export   for example export count=1 will be available on all sub
shell.

 
 
223In A File Word UNIX Is Appearing Many Times? How Will You Count Number?
Date Posted: 07/02/2012

Ans: grep -c “Unix” filename

 
 
224What Is Zombie process In UNIX? How Do You Find Zombie Process In UNIX?
Date Posted: 07/02/2012

Ans: When a program forks and the child finishes before the parent, the kernel still keeps some of its information about the child in case the parent might need it.

 
 
225What Is Difference Between Hard Link And Soft Link In UNIX?
Date Posted: 07/02/2012

Ans: Unix Soft links are pointers to programs, files, or directories located
elsewhere (just like Windows shortcuts).
Unix Hard links are pointers to programs and files, but NOT directories

 
 
226How Do You Find how Many CPU Are In Your System And There Details?
Date Posted: 07/02/2012

Ans: By looking into file
/etc/CPU info for example you can use below command:

cat /proc/cpuinfo

 
 
227How Do You Find  For How Many Days Your Server Is Up?
Date Posted: 07/02/2012

Ans: By using uptime command in UNIX

 
 
228Your Application home Directory Is Full? How Will You Find Which Directory Is Taking How Much space?
Date Posted: 07/02/2012

Ans: By using disk usage
(DU) command in Unix for example du –sh . | grep G  will list down all
the directory which has GIGS in Size.

 
 
229You Have A Tab  Separated File Which Contains Name, Address And Phone Number, List Down All  Phone Number Without Their Name And Addresses?
Date Posted: 07/02/2012

Ans: you can either use AWK or CUT command here.

 
 
230There Is A File Unix_Test.txt Which Contains Words Unix, How Will You Replace All Unix To UNIX?
Date Posted: 07/02/2012

Ans: by using SED command in UNIX for example you can  execute Sed s/Unix/UNIX/g filename.

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