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 5098

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

4 6768

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 4898




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

2 3299

to list a particular line in the file

5 3934

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

Syntel, MEIT,

5 7463

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

5 5587

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

2 7039

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

IBM, HCL,

4 8472

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

1183

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 4832

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

CTS,

7 7476

What is the difference between pipe and xargs?

CTS, Amazon,

2 8552

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

Amazon,

4 8394

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

Amazon,

7 8629







Un-Answered Questions { Unix }

Am using Mac OS 10.4.11 on an Imac (PPC) Internal hard disk got named disk0s3 and will not mount. What commands can be used in TERMINAL to rename the internal hard disk to C96?

965


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:

644


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

256


Why do I get EPROTO from read()?

213


what is output mkvg pvname

469


why metadb requires a seperate slice to create Solaris volume manager

1442


How can I tell when a socket is closed on the other end?

169


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

206


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!

8410


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.

2821


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

1565


I have one flat file,in this file how many columns are there i don't know,but one ename column is there , just i want to cut the surname, so how to cut the surname, any one know the answer please guide me ? ename ----- tapan kumar nayak bala murugan kutal chkrobarthy biswo My output is like that OUTPUT ------ nayak murugan chakrobarthy biswo

2005


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

1183


what is the time for incident, problem and change management tickets?

1277


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

180