Unix Interview Questions
Questions Answers Views Company eMail

What are raw sockets?

Axis Technologies,

4 9809

What command is used to execute system calls from exe?

Axis Technologies,

3 7110

What command is used to replace the existing string with some other?

TCS,

8 10343

What are Profilers?

Axis Technologies,

1 4768

How to connect oracle database from unix

IBM, Wirecard,

5 39912

What Command is used to make a directory?

IBM,

4 4841

Give Command that will move a single file called "unix.txt"

IBM,

6 6167

Give command that will make the file "run.sh" executable?

IBM,

10 10532

Give Command that will change the name of a directly from paypal to eBay

Alcatel, IBM,

3 6037

How does a user get the current date, time in UNIX?

IBM,

6 9775

What Command will remove a Directory in UNIX?

IBM,

8 11665

How does the user view the contents of a text file in UNIX?

IBM,

8 6495

What command will bring user back to their home directory in UNIX?

Wipro, IBM,

13 10383

What command a user use to view a long text file one page at a time in UNIX?

IBM,

8 9565

What command would users use to see what file one page at a time in UNIX?

IBM,

7 7389



Un-Answered Questions { Unix }

Why do I get EPROTO from read()?

150


Why does the sockets buffer fill up sooner than expected?

143


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

153


If Media Server fails. What are the steps to be followed? Can anyone please reply for this question Thanks, Ganesh

1513


How do I use TCP_NODELAY?

117


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

180


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

121


Explain how and when a DNS request is solved when a user tries to surf to the site www.abcdeg.in .Assume the user machine uses a local name server and sits on another network other than www.abcdef.in.

2699


What is ant_build.sh? Have u seen that file?

735


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:

593


what is output mkvg pvname

393


what is difference between milestone and run-levels in Solaris ?

1492


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

184


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?

148


In detail elaborate the system? What is driver?

600