Unix admin interview questions and answers pdf

Thursday, February 7, 2019 admin Comments(0)

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.

Language: English, Spanish, French
Country: Philippines
Genre: Children & Youth
Pages: 160
Published (Last): 23.08.2016
ISBN: 842-7-57084-378-4
ePub File Size: 18.62 MB
PDF File Size: 16.53 MB
Distribution: Free* [*Regsitration Required]
Downloads: 47719
Uploaded by: WILLIEMAE

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?.

How HashMap works in Java? 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. Previous Previous post: You need to track events on your system. It is as shown below:. The only time a consistency check occurs using ext3 is in certain rare hardware failure cases, such as hard drive failures.

This would skip the file system check process. Now, after the 10th mount of the file system, it would force a file system check and mount counter would be reset to 1. Hence, need to update older package. This has been added from RHEL 6. How do you make the system to boot from the newly installed kernel? How could this be fixed? If the label is not correct in fstab then edit it. RHEL 5. Say for example there are two kernel images installed: How to fix this?

Once this is installed, the right click option would show up. You would need to install the KDE related packages first. Jun 18 Received signal 15; terminating.

General UNIX interview questions with answers | TestingBrain

Server listening on 0. Server listening on:: Replace the service name with respective service you wish to check far. As the name implies this does nothing of data re-order or queuing, it just manages data as First-In-First-Out basis and would ideal when there is a separate storage based controller which does better data re-ordering and understanding of disk layout so that the kernel workload would gets reduced.

This would be an ideal option when SSD drives are used. This is ideal in case of contiguous reads such as FTP servers but not good for database servers. Requests in queue would get served in batches based on FIFO. This is default elevator being used in RHEL 6.

Admin pdf questions unix interview and answers

This would normally be used in Desktop system or Usenet servers. How to make sure that the network interface becomes eth0 here and up along with the server? Save and exit. If unable to ping localhost check for following things:. If not then bring up the loopback interface: If there is no such entry then pinging 0 numeral would work, however, pining localhost would fail.

So, add the entry as:. If network is down then bring it up:. Try to set a test static IP address and check if that works. Ping the gateway address and check. So, run traceroute at this stage and check where network is dropping connections. In such cases it could be possible that ICMP replies would have been disabled via sysctl or blocked by firewall rules via iptables. Try running ssh in verbose mode ssh -v username RemoteHostAddress. If this fails then this would indicate either ssh service is down or user-restricted or blocked by firewall on remote host.

At this juncture, one may use an un-secure telnet might require to install telnet package to test if remote host is listening on a port. This would also not respond if port is blocked by firewall. This would fetch quick discovery of hosts alive status. Make the user sudo with appropriate permissions on the commands required.

This prompts for user root to enter a valid password to authenticate. The simplest way to achieve this in RHEL 5. Before understanding this, one must understand the numerical values being used to represent permission bits in Unix environment. It is as shown below:. 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.

Write command to list all the links from a directory? In this UNIX command interview questions interviewer is generally checking whether user knows basic use of "ls" "grep" and regular expression etc. You can write command like: This is a simple UNIX command interview questions where you need to create a file and change its parameter to read-only by using chmod command you can also change your umask to create read only file.

Read more about file and directory permission in unix and linux here. How will you find which operating system your system is running on in UNIX? By using command "uname -a" in UNIX. How will you run a process in background? How will you bring that into foreground and how will you kill that process? For bringing it back in foreground use command "fg jobid" and for getting job id you use command jobs , for killing that process find PID and use kill -9 PID command. This is indeed a good Unix Command interview questions because many of programmer not familiar with background process in UNIX.

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? 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.

Top 30 Linux System Admin Interview Questions & Answers

Swapping systems does not handle the memory more flexibly as compared to the paging systems. 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? When a program forks and the child finishes before the parent, the kernel still keeps some of its information about the child in case the parent might need it - for example, the parent may need to check the child's exit status.

To be able to get this information, the parent calls 'wait ' ; In the interval between the child terminating and the parent calling ' wait ' , the child is said to be a 'zombie' If you do 'ps', the child will have a 'Z' in its status field to indicate this. The process is dead but have not been removed from the process table. What is "chmod" command? The line you see shows the permission for three different set of people: User is the currently logged in user, while group is for all other member which are part of certain group and others means anyone other than user and group member.

So in above line, user has only read permission, group members has write permissions and other people has only execute permission. If it is a directory then you need execute permission to go inside that directory. See here for more detailed answer.

Answers questions admin unix pdf and interview

How do you set environment variable which will be accessible form sub shell? How do you check if a particular process is listening on a particular port on remote host? To read more about telnet read networking command in UNIX. Either by using "uname -a" command or by using "arch" command.

How do you find which processes are using a particular file?

Admin interview pdf and answers unix questions

By using lsof command in UNIX. It wills list down PID of all the process which is using a particular file. How do you find which remote hosts are connecting to your host on a particular port say ?

General UNIX interview questions with answers

By using netstat command execute netstat -a grep "port" and it will list the entire host which is connected to this host on port What is nohup in UNIX? An UNIX process started with nohup will not stop even if the user who has stared log off from system. What is ephemeral port in UNIX? Ephemeral ports are port used by Operating system for client sockets. There is a specific range on which OS can open any port specified by ephemeral port range.

If one process is inserting data into your MySQL database? How will you check how many rows inserted into every second? Purpose of this Unix Command Interview is asking about watch command in UNIX which is repeatedly execute command provided with specified delay.

You have a tab separated file which contains Name, Address and Phone Number, list down all Phone Number without there name and Addresses? CUT use tab as default separator so you can use. Your application home directory is full? How will you find which directory is taking how much space? By using disk usage DU command in Unix for example du —sh. By using uptime command in UNIX. You have an IP address in your network how will you find hostname and vice versa?

This is a standard UNIX command interview question asked by everybody and I guess everybody knows its answer as well.

Please share any interesting UNIX command interview you have come across and I will add into this list. If you are going for any Unix interview on brokerage firm or stock trading company or any Investment bank you can have a quick look here, though most of questions you might already know but its good to review it. Share to Twitter Share to Facebook. United States. Anonymous said May 16, at 3: May 16, at 7: May 17, at 1: May 17, at 2: May 17, at 3: July 26, at October 6, at 8: Thank you November 22, at January 17, at 2: March 9, at 5: Senthil September 19, at 8: June 28, at July 10, at January 24, at 7: April 4, at 8: