Unix Interview Questions
Questions Answers Views Company eMail

Why do I get connection refused when the server is not running?

1 1668

How can I set the timeout for the connect() system call?

1093

Why does connect() succeed even before my server did an accept()?

1 1454

How do I convert a string into an internet address?

886

What are socket exceptions? What is out-of-band data?

1 1571

Why do I keep getting EINTR from the socket calls?

1 1468

Is there any advantage to handling the signal, rather than just ignoring it and checking for the EPIPE error? Are there any useful parameters passed to the signal catching function?

1022

How do I send [this] over a socket?

1 1524

How come select says there is data, but read returns zero?

1 1472

How can I force a socket to send the data in its buffer?

1072

What are the pros/cons of select(), non-blocking I/O and SIGIO?

953

Why does it take so long to detect that the peer died?

1130

Why do I get EPROTO from read()?

987

Where can a get a library for programming sockets?

1 1478

Whats the difference between select() and poll()?

1194


Un-Answered Questions { Unix }

Explain what are links and symbolic links in unix file system?

506


How to log out in unix?

505


What is unix kernel?

456


How many socket connections can a server handle?

454


What are the possible return values of kill() system call?

481






Explain links and symbolic links.

501


Describe the usage and functionality of the command rm –r * in unix?

799


List the system calls used for process management?

598


What is unix in simple terms?

475


I want to invest in learning things that will get me good jobs in future. But wondering if Unix knowledge is something that is a MUST have or is it better to do any Data-warehouse tool (cognos, Qclik view, ETL etc..). Please suggest me.

1849


Explain what is a fifo?

518


What are the types of unix operating system?

472


Where is unix used?

514


Please describe the initial process sequence while the system boots up?

550


How can I force a socket to send the data in its buffer?

1072