Unix Interview Questions
Questions Answers Views Company eMail

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

1 1687

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

1104

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

1 1470

How do I convert a string into an internet address?

898

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

1 1584

Why do I keep getting EINTR from the socket calls?

1 1490

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?

1034

How do I send [this] over a socket?

1 1542

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

1 1486

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

1086

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

965

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

1142

Why do I get EPROTO from read()?

999

Where can a get a library for programming sockets?

1 1508

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

1203


Un-Answered Questions { Unix }

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

1203


What is the full form unix?

482


What is sed awk grep?

598


How do I search for a file in unix command?

539


What is the command to view process running?

566






What are the core concepts of unix

526


How do I search for a file in unix?

499


What does unix .profile contains?

579


Is a directory unix?

464


Why is it called a shebang?

564


How do you make programs portable on unix and dos under such circumstances?

464


Explain how do you execute one program from within another?

523


What is regular file in unix?

459


Is learning unix useful?

484


What are the differences among a system call, a library function, and a unix command?

559