UNIX command Questions Answers asked in Interview. UNIX or Linux operating system has become default Server operating system and for whichever. Linux, Windows etc. Here I have collected UNIX interview questions with their answers for your reference. If you require download UNIX Faqs in PDF format. Unix and Linux Command Interview Questions and Answers .. Can any one please share UNIX or Linux Interview question for System admin? I download all these UNIX interview questions and answers in PDF format?.
|Language:||English, Spanish, Arabic|
|Distribution:||Free* [*Registration Required]|
New 54 Linux Admin Interview Questions And Answers Pdf, You can crack the What is the basic difference between UNIX and Linux Operating System?. what is unix, unix shell, steps UNIX shell follows while processing a command, cmp & diff in UNIX, grep command, cat & more UNIX prompts. Top 30 linux system admin interview questions & answers for experience for configuration management toll in UNIX like operating system.
Q 41 What is the explanation for protection fault? Ans When the process access a page, which do not have access permission is refers as protection fault. Also when a process attempt to write on a page whose copy on write bit was set during the fork system call is incurred for protection fault.
Ans Continuous area of processes address space text, data, and stack is identifying as a region. Regions are shareable among the processes.
Q 44 What is mean by user area u-area, u-block? Ans The area is only manipulated by the kernel and it contains the private data.
This is unique to the process and each process allocated to u-area. Q 45 What is called piping? The output of the first command work as the input of the second command, and so on. Pipe character is represent piping. UNIX shell serves as an environment to run commands, programs, and shell scripts and also acts as an interface between the user and the Unix operating system.
Q 48 Explain the term filter. A Filter is described as a program, which takes input from the standard input, and displays results to the standard output by performing some actions on it. Standard Input could be text typed on the keyboard, input from other file or output of other file serving as input.
Standard output is y default the display screen. The most popular example of Unix filter id grep command. This program look for a certain pattern in a file or list of files and only those lines are displayed on the output screen which contains the given pattern. Q 49 Write a command to erase all files in the current directory including all its subdirectories. Q 50 What do understand by Kernel?
Unix operating system is basically divided into three parts, namely, the kernel, the shell and the commands and utilities.
Kernel serves as the heart of the Unix operating system which does not deal directly with the user but rather act as a separate interactive program for users logged in. It performs the following functions: a Interacts with the hardware b Perform tasks like memory management, file management and task scheduling.
Q 51 Describe key features of Bourne shell. Bourne shell is referred to as the standard shell. Q 52 Enlist the key features of Korn Shell. I read somewhere that even worse is "killall process-name" command which instead of killing named process kill all process on Solaris. Anonymous, yeah that question doesn't require much information but only information which it requires is to know "uptime" command which people often don't know.
Thanks a lot for sharing the knowlege could you kindly shar interview questions for SQL like joint,having,so on Thank you. Hi, could share the flow of fix protocol for fix server, rate engin wall street books it would be greate. Bonus points if the answer to "2. Create a read-only file in your home directory?
Most of these questions are incorrect for Solaris which is also a true Unix. Maybe it's a better idea to rename this blog post to "Top 30 Linux command Interview Questions". Intermediate 7: How will you count [the] number? If you want to know how many times "UNIX" any case actually appears, I would suggest something like this: I am looking for some real tricky UNIX question which can be testing.
I got asked 'what is the difference between init 6 and reboot? I was apparently the only candidate ever to have answered correctly. I got the job. Actually it is quite a good interview question if the person understands the difference between 'top' and 'prstat' commands and why one may become a CPU hog guess which one.
This will give an idea if the person has been exposed to some really, really large OS images.. But it depends what type of environment you want him to work in. For most Linux environments you never have to worry about the fact that 'top' has an build-in weakness if there are really MANY processes to iterate over. It is not a problem you're likely to encounter anyways.
What is nohup? We used to start our Java Services using nohup command so that it keeps running, even after you log out from shell.
Instead of command line trivia I prefer to ask a question that gives an interviewee enough room to maneuver. One with a long enough answer so you can determine if the user understands the entire system and whose response will let you know their level of expertise. Something like "In as much detail as possible explain what happens when you say ssh hostname".
Ideally mentioning shell, searching the path, execing a binary, libraries, page faults, parsing options, dns, netmask, gateway, routing, tcp handshake, ssh negotiation, etc. A good answer will take some time, but you'll learn quite a bit about the interviewee in the process. Numerous problems with the answer: How to get the last 10 lines of a file easy tail filename 3. How to zip and unzip files in unix? How do you display line nos. How do you fire a shell script? How do you save and exit from vi editor?
How do you create a new file? I hope one of the answer suffices! Name some shell scripts used for monitoring? Generic no specific answer Check alert log files for error messages, Checking disk usage so on. Some comments: Beginner 1: Beginner 3: Beginner 4: Beginner 6: Beginner 10 and Advanced 9 can just swap places directly. Intermediate 6: As it stands the answer should be "grep -R". Case matters: Intermediate 8: Advanced 6: Should be "sed -i" for GNU sed, at least, otherwise use temp files perhaps follow-up question about making unique temp files mktemp.
Advanced 7: There are many more possibilities, e. How to create file system in UNIX? Explain LVM and it's use? How to mount and unmount drives? How to configure a process to start on boot? How to check mail queue? Where are system log files located? When i have used "lsof" command, that shooted a message like lsof: What is the mean by it? It was working. Please correct me if I am going wrong. Thanks in advance. The given answer for: In a file word UNIX is appearing many times?
How will you count number?
Post a Comment. These UNIX command interview questions are mostly asked during Java development and Support role interviews on various investment banks mostly because most of electronic trading systems or stock trading system works on Unix servers.
As we know that high volume low latency systems which wants to take advantage of little bit of volatility in market for Equity , Futures and options or Foreign exchange trading need a stable server side operating system and Redhat Linux is doing great job there. Long back I had once asked one of my friend why are you preparing Unix Command interview questions if you going for a Java Interview and he told me that this job doesn't only require knowledge of Java but also knowledge of Unix, Linux, SQL and other scripting language , which is quite true.
After that I thought to collect various UNIX command interview questions asked to Java developers or trading system support interviews and this is the result of that compilation. This list of UNIX command interview questions are by means complete and would be great if you guys contribute some genuine and good Unix Command Interview questions and answers asked during interviews.
I have divided the questions on three categories for sake of managing and keeping this list of Unix Interview questions up to date. How do you know if a remote host is alive or not? You can check these by using either ping or telnet command in UNIX. This question is most asked in various Unix command Interview because its most basic networking test anybody wants to do it. How do you see command line history in UNIX? How do you copy file from one host to other?
Many options but you can say by using "scp" command. You can also use rsync command to answer this UNIX interview question or even sftp would be ok. How do you find which process is taking how much CPU?
How do you check how much space left in current drive? By using "df" command in UNIX. For example "df -h. This is part of anyone day to day activity so I think this Unix Interview question will be to check anyone who claims to working in UNIX but not really working on it. What is the difference between Swapping and Paging? Swapping: Whole process is moved from the swap device to the main memory for execution. Process size must be less than or equal to the available main memory.
It is easier to implementation and overhead to the system. Swapping systems does not handle the memory more flexibly as compared to the paging systems. Paging: Only the required memory pages are moved to main memory from the swap device for execution. Process size does not matter. Gives the concept of the virtual memory. It provides greater flexibility in mapping the virtual address space into the physical memory of the machine.
Allows more number of processes to fit in the main memory simultaneously. Allows the greater process size than the available physical memory.
Demand paging systems handle the memory more flexibly. What is difference between ps -ef and ps -auxwww? This is indeed a good Unix Interview Command Question and I have faced this issue while ago where one culprit process was not visible by execute ps —ef command and we are wondering which process is holding the file.
How do you find how many cpu are in your system and there details?