Unix Interview Questions
Questions Answers Views Company eMail

How do I get the port number for a given service?

1 1862

How do I properly close a socket?

1 1929

What is the difference between close() and shutdown()?

1 1974

Explain the TIME_WAIT state.

1 1770

How can I put a timeout on connect()?

1 1706

Why does the sockets buffer fill up sooner than expected?

980

How often should I re-transmit un-acknowleged messages?

1 1420

of the socket? Does doing a connect() call affect the receive behaviour?

1 1608

When should I use UDP instead of TCP?

1 1549

How can I read only one character at a time?

1 1633

What is the difference between SO_REUSEADDR and SO_REUSEPORT?

1340

How do I get my server to find out the clients address / host- name?

1 1453

What exactly does SO_KEEPALIVE do?

1 1435

What exactly does SO_REUSEADDR do?

1 1628

How come I get address already in use from bind()?

1 1490


Un-Answered Questions { Unix }

Define the term directory?

511


Explain the architectural differences between user-space threads, and kernel-supported threads?

499


What is in grep command?

633


Is windows built on unix?

500


What is the use of egrep command in unix?

611






What does pipe () return?

579


How to print/display the last line of a file in Unix?

536


Explain linking across directories?

528


How can we use grep command in unix?

602


Which command is used to delete all files in the current directory and all its sub-directories?

649


How to change the password in unix operating system?

479


What is ctrl d?

580


Does ios use unix?

495


What is pipe command in unix?

654


What are the advantages of unix operating system?

487