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.
1. Access common commands quicker ?
ps -ef | grep -i $@
2. Alternative for top command ?
prstat -a
3. Change to a directory, which is having very long name ?
cd CDMA_3X_GEN*Here original directory name is . .CDMA_3X_GENERATION_DATAnswer:.
4. Delete blank lines in a file ?
cat sample.txt | grep -v ?^$? > new_sample.txt
5. Display disk usage in Kilobytes ?
du -k
6. Display Ethernet Address arp table ?
arp -a
7. Display the all files recursively with path under current directory ?
find . -depth -print
8. Display the Disk Usage of file sizes under each directory in currentDirectory ?
du -k * | sort .nr (or) du .k . | sort -nr
9. Display the files in the directory by file size ?
ls .ltr | sort .nr .k 5
10. Display the inter-process communication facility status ?
ipcs