Unix OS Interview Questions and Answers

An operating system co-created by AT&T researchers Dennis Ritchie and Ken Thompson. Unix is well known for its relative hardware independence and portable application interfaces. Lots of big companies are using Unix servers for its reliability and scalability. Some of the popular Unix flavours are: Linux, Solaris, HP-UX, AIX, etc. The Open Group holds the definition of what a UNIX system is and its associated trademark in trust for the industry. The UNIX* operating system was designed to let a number of programmers access the computer at the same time and share its resources. The operating system coordinates the use of the computer's resources, allowing one person, for example, to run a spell check program while another creates a document, lets another edit a document while another creates graphics, and lets another user format a document -- all at the same time, with each user oblivious to the activities of the others. The operating system controls all of the commands from all of the keyboards and all of the data being generated, and permits each user to believe he or she is the only person working on the computer. This real-time sharing of resources make UNIX one of the most powerful operating systems ever.

Unix OS Interviews are getting tough these days as the technology grows faster. To get through the Unix OS interview one needs to update him/herself in a regular manner. Having said that, just before the interview, it is very important to have a quick glance of the reputed Unix OS questions and answers to make yourself comfortable during the interview process. This is where DoAnswers.com helps you in renewing yourself on Unix OS and various other technologies interview preparation.



<< Previous                Next >>

 

41. How to know the date & time for . when script is executed ?

Add the following script line in shell script.eval echo "Script is executed at `date`" >> timeinfo.infHere, .timeinfo.inf. contains date & time details ie., when script is executed and history related to execution.


42. How to save man pages to a file ?

man | col .b > Example : man top | col .b > top_help.txt


43. How to see your server name

hostname


44. how to sfind free space in unix/linux

on linuxfree -m will display free memory in MB 'df' and 'du' commands give the information about space.df -k df -h or df -Humanreadable gives human readable format of free space


45. How to switch to a super user status to gain privileges?

Use ?su? command. The system asks for password and when valid entry is made the user gains super user (admin) privileges.


Your Ad Here

46. How to terminate a process which is running and the specialty on command kill 0?

With the help of kill command we can terminate the process. Syntax: kill pid Kill 0 - kills all processes in your system except the login shell.


47. How would you create shared and dynamic libraries

Well shared libraries have 2 types 1) Static 2) Dynamic. u can create library by ar cr -o sharedobj.a file1.o file2.o while file1 and file2 are headfiles (obj) now put this sharedobj.a into /usr/lib directory


48. How would you remove a semaphore / shared memory whose owner processes have died?

ipcrm -sem id ; for semaphores ipcrm -shm id ; for shared mem


49. If you have a string "one two three", which shell command would you use to extract the strings

echo $string | cut -d" " -f1 echo $string | cut -d" " -f2 echo $string | cut -d" " -f3 echo "one two three" | cut -d" " -f 1,2,3 or echo "one two three" | awk '{print $1 $2 $3}'


50. In Unix OS, what is the file server?

The file server is a machine that shares its disk storage and files with other machines on the network.


Your Ad Here

<< Previous                Next >>

 
Databases Questions and Answers
 
DB2 Interview Questions and Answers
IMS Interview Questions and Answers
MYSQL Interview Questions and Answers
Oracle Interview Questions and Answers
PL/SQL Interview Questions And Answers
Quel Interview Questions and Answers
SQL Interview Questions and Answers

 
 
.NET Interview Questions and Answers
 
ASP Interview Questions and Answers
C# Interview Questions and Answers
Visual Basic Interview Questions and Answers
 
J2EE Interview Questions and Answers
 
Enterprise Java Beans (EJB) Interview Questions And Answers
Hibernate Interview Questions And Answers
Jave Messaging Service (JMS) Interview Questions And Answers
Jave Server Faces (JSF) Interview Questions And Answers
Java Server Pages (JSP) Interview Questions And Answers
Servlets Interview Questions And Answers
Spring Framework Interview Questions And Answers
Struts Framework Interview Questions And Answers
 
JAVA Interview Questions and Answers
 
Core Java Interview Questions and Answers
Java Platform, Micro Edition (Java ME) Interview Questions And Answers
JAVA GUI Interview Questions and Answers
Java Performance Tuning Interview Questions And Answers
JUnit Interview Questions And Answers
Remote Method Invocation (RMI) Interview Questions And Answers
Unified Modeling Language (UML) Interview Questions And Answers
 
Java Application Server Interview Questions And Answers
 
Tomcat Application Server Interview Questions And Answers
WebLogic Application Server Interview Questions And Answers
 
Mainframe Interview Questions and Answers
 
CICS Interview Questions and Answers
COBOL Interview Questions and Answers
IMS Interview Questions and Answers
JCL Interview Questions and Answers
REXX Interview Questions and Answers
TELON Interview Questions and Answers
VSAM Interview Questions and Answers
 
Object Oriented Language Questions and Answers
 
C Interview Questions and Answers
C++ Interview Questions and Answers
Eiffel Interview Questions and Answers
J2EE Interview Questions and Answers
JAVA Interview Questions and Answers
Sather Interview Questions and Answers
Small talk Interview Questions and Answers
 
Operation Systems Interview Questions and Answers
 
MS DOS Interview Questions and Answers
Unix OS Interview Questions and Answers
Windows Interview Questions and Answers
 
Scripting languages Interview Questions and Answers
 
Java Script Interview Questions and Answers
Practical Extraction and Reporting Language Interview Questions and Answers
PHP Interview Questions and Answers
VBScript Interview Questions and Answers
 
UserInterfaces Questions and Answers
 
Foxit Interview Questions and Answers
Glade Interview Questions and Answers
Tweak Interview Questions and Answers
 
WEB Technologies Questions and Answers
 
AJAX Interview Questions and Answers
HTML Interview Questions and Answers
WML Interview Questions and Answers
XML Interview Questions and Answers
 
Interview Tips And Some Common Questions
 
Behavioral Interview Questions And Answers


Your Ad Here