Unix Interview Questions
Questions Answers Views Company eMail

what is the functionality of kernel in unix architecture?

12 17574

Sorry to all Technical person for mistake of Question. Now i am post currect question Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 555 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please write the proper answer. Thanks in Advance

TCS,

3 4879

What is RC (return code)? What is useful for? Which are the common values?

Accenture,

1 4530




What does "bulk loading of a table" mean? Can you describe advantages or disadvantages of using these features?

Accenture,

2 6996

What is a "parameter card" and what is useful for?

Accenture,

1 6127

Suppose you have a scheduling chain where the process 1 is a predecessor of the process 2 and both of them are scheduled every Monday at 8.00pm. Will I find execution log of process 1 every Tuesday morning? And what about the other one? Why?

IBM, Accenture,

1 2205

How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.

IBM,

12 13517

What is the number of the masked code ee@?

Amazon, Accenture, Amdocs,

2 25492

What is difference between SSH V1 and SSH V2? What are drawbacks of SSH V2?

Wipro,

1 7731

How to display a file name which has zero bytes in size.

Polaris,

11 11120

what is the difference between KILL and KILL -9?

Informatica, Nutanix,

5 20375

What are the general Commands in using Unix OS for a beginner? how many commands you know in that?

2 3923

what is the difference between SED and GREP ? Which one is more better and why?

IBM,

4 25485

how to find the 51th record of a file containing 100 records in unix.

IBM,

12 13060

how to use grep command to list find the records of a file containg 10 different strings

IBM,

5 7970







Un-Answered Questions { Unix }

system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?

379


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

884


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


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

262


In detail elaborate the system? What is driver?

672


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.

1038


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


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?

218


How do I use TCP_NODELAY?

182


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

788


what is output mkvg pvname

471


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

180


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

257


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

169


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