Unix Interview Questions
Questions Answers Views Company eMail

What is the purpose of socket?

654

What is af_inet in socket?

609

Can a socket have multiple ports?

623

Why sockets are used?

636

What does af mean in sockets?

662

What is sae socket?

583

What is the function of socket?

647

Why do we need socket programming?

617

Can a single socket port be used for multiple applications?

604

Why do we need sockets?

593

How many sockets can a cpu have?

618

What is a socket set used for?

669

How many socket connections can a server handle?

602

What is a deep well socket?

667

What pieces of information make up a socket?

704


Un-Answered Questions { Unix }

Explain kernal and shell?

724


What is directory unix?

673


Does mac use unix?

652


What is Process id in unix?

710


Is unix portable?

698






When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1925


How do you delete a file in unix?

683


Is mac terminal unix?

621


Explain how do you execute one program from within another?

682


Who owns unix?

644


Why was unix created?

644


Explain the performance differences between user-space threads and kernel-supported threads.?

772


What are the hidden files in unix?

744


What is ipc in unix?

725


How to list directories in unix?

716