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.
31. How do you know that how many commands can be stored in the buffer in one session?
type "env" command on the prompt and check HISTORY or BUFFER or HISTSIZE value
32. How do you see the number of processes running in the system
ps -ef
33. How does the kernel differentiate device files and ordinary files?
Kernel checks 'type' field in the file's inode structure. device filles are of 2 types --- charcater device file and block device file type field in the file's inode structure b--- block device file c--- character device file
34. How is the command ?$cat file2 ? different from ?$cat >file2
The Commond $cat file in unix is used to display the content of the file and where as commond $cat >> file is to append the text to the end of the file without overwritting the information of the file. Incase if the file does not exist in the directory the commond will create a newfile in file system.
35. How many prompts are available in a UNIX system?
Two prompts, PS1 (Primary Prompt), PS2 (Secondary Prompt). Unix/ Linux Supports four Prompts PS1, PS2, PS3, PS4
36. How many prompts are available in Unix / Linux
Unix/ Linux Supports four Prompts PS1, PS2, PS3, PS4 and you can also set them in .profile
37. How much space is used for users in kilobytes ?
quot -af
38. How to create a blank file in unix
touch
39. How to create null file ?
cat /dev/null > filename1
40. how to find free space in unix/linux
df -h on linuxfree -m will display free memory in MB 'df' and 'du' commands give the information about space.df -k the better command is df -h