Unix Interview Questions
Questions Answers Views Company eMail

how will you login one server's shell prompt to an another server?

Perot Systems, Cosmic Infotech,

5 4709

how will you convert a general file to a hidden file?

4 6309

hi i have directories within the directory. Now i want to copy the directory along with all directories included in it to one location by using copy command? what is the command

ACS, Span Systems,

2 4610

What is the different between UNIX command and UNIX shell script?

2 3018

to list a particular line in the file

5 3618

what is the cmd to display the last exit status in UNIX?

Syntel, MEIT,

5 7058

what is the cmd to remove the comment lines from a file and to display the original text without comments? thanks in advance......

5 5291

What is an Unix command to convert HEX value to ASCII value located in any flat file.

2 6508

How can i know my Filesystem and its current usage in my prod UNIX system?

IBM, HCL,

4 7807

I am new to Unix and Unix Shell scripting could you guide me on how to go about these subjects and where to start from with concern to Oracle?. I also would like to know where does UNIX shell Scripting help in terms of development of a application in Oracle? I have no clue in the subject so do help me. Thank You Neelima

1114

Interviewer: Lets say there is a partition of 100GB. When i tried to create a file using touch command, under any directory, it was unable to create the file- '100% full disk space'. I calculated the size of each and every directory on that partition mannually by adding each file size & in came out to be total size 50GB. Then where is the remaining 50GB ? why it is showing disk space 100% full in 'df -h' command?

Infosys,

2 4521

A file has 1000 lines and i want to display only 1st line how to do it? pls ..tel me

CTS,

7 6842

What is the difference between pipe and xargs?

CTS, Amazon,

2 7443

How to find the files that are accessed before 10 minutes?

Amazon,

4 7809

By using which command we can find the CPU utilization time?

Amazon,

7 8111



Un-Answered Questions { Unix }

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

1443


i am prepairing for 2+ yrs exp in oracle/unix production support,can u tell me which type issue comes in server plz help

5124


. Using sed and grep, write a command which lists files and directories with following properties: (i) created in 1999 (ii) with user's as owner and group

1163


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.

968


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

131


How do I convert a string into an internet address?

91


hw will u use awk in replacing cahrs and files

1483


Why does the sockets buffer fill up sooner than expected?

105


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.

2582


What are the events done by the Kernel after a process is being swapped out from the main memory?

738


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

134


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

162


i m putting 2.6yrs fake exp in oracle/unix production support i want to know some real time issues,like tell me the challenging issue u ever faced? my project is credit card application plz help me!

6756


What are the main differences between Apache 1.x and 2.x?

5601


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:

568