Linux Engineer Interview Questions

671 linux engineer interview questions shared by candidates

C: Difference between fopen and freopen. Error handling in C and unix error codes Malloc and calloc Stack and heap differences Bash: Command to search for pattern at start of the line Use of awk vs grep Wild character for single character Linux: How to deploy a module in kernel? Tool for exploring kconfig in GUI Use of yocto and other builds?
avatar

Linux Developer

Interviewed at Kambi

3.5
Jun 7, 2021

C: Difference between fopen and freopen. Error handling in C and unix error codes Malloc and calloc Stack and heap differences Bash: Command to search for pattern at start of the line Use of awk vs grep Wild character for single character Linux: How to deploy a module in kernel? Tool for exploring kconfig in GUI Use of yocto and other builds?

1) Root password has been misplaced.How do you change the root password 2) On a prod system, memory if found to be insufficient and the vendor is delaying the ram shipment.How will you temporarily resolve the issue A: Increase swap space 3) How do you increase the swap space. 4) A disk mount which is used by a running application is found to be corrupt.What are the steps taken to fix it? A: Find the open processes using fuser and the take appropriate actions like unmount , fsck , mount etc. 5) What is the logic to configure a process to run on the last date of every month? 6) Some users of a domain are complaining that they are not receiving email from a particular domain.What steps will you take to identify the issue. A: Identity mx record.check port connectivity to port 25, check mail server logs etc 7) What are the common mail failure errors you encounter? 8) Enumerate the steps required for remote installation of Red HAT on a group of servers which do not have a local media device. 9) How do you mount an NFS mount? 10) Have you worked on vmware? 11) How would you tune an Apache server.What parameters would you tweak? 12) A new software refuses to start and lists some libraries which it could not find.All the libs are in the rite place and have proper permissions.What env variable needs to be fixed? 13) what is the most secure way of sharing files? 14) What are the types of ftp? 15 Have you set up an FTP server? 16) How do you identify if a server is virtual or physical? A:http://serverfault.com/questions/65718/vmware-linux-server-how-can-you-tell-if-you-are-a-vm-or-real-hardware 17) Steps to request and install CSR on apache 18) What is initrd? 1) What does load average signify ? 2) What implementation of NFS was used at your organisation? A: Netapp 3) How would you troubleshoot/recover a heavily loaded server? 4) What tools did you use to monitor system resourses? 5) Have you ever written custom monitor scripts for Nagios? 6) How would you declare a variable and use it in bash? 7) What was you apache tomcat setup like? What did you use to connect Apache to Tomcat?
avatar

Linux Engineer

Interviewed at LRN

3.8
Mar 18, 2015

1) Root password has been misplaced.How do you change the root password 2) On a prod system, memory if found to be insufficient and the vendor is delaying the ram shipment.How will you temporarily resolve the issue A: Increase swap space 3) How do you increase the swap space. 4) A disk mount which is used by a running application is found to be corrupt.What are the steps taken to fix it? A: Find the open processes using fuser and the take appropriate actions like unmount , fsck , mount etc. 5) What is the logic to configure a process to run on the last date of every month? 6) Some users of a domain are complaining that they are not receiving email from a particular domain.What steps will you take to identify the issue. A: Identity mx record.check port connectivity to port 25, check mail server logs etc 7) What are the common mail failure errors you encounter? 8) Enumerate the steps required for remote installation of Red HAT on a group of servers which do not have a local media device. 9) How do you mount an NFS mount? 10) Have you worked on vmware? 11) How would you tune an Apache server.What parameters would you tweak? 12) A new software refuses to start and lists some libraries which it could not find.All the libs are in the rite place and have proper permissions.What env variable needs to be fixed? 13) what is the most secure way of sharing files? 14) What are the types of ftp? 15 Have you set up an FTP server? 16) How do you identify if a server is virtual or physical? A:http://serverfault.com/questions/65718/vmware-linux-server-how-can-you-tell-if-you-are-a-vm-or-real-hardware 17) Steps to request and install CSR on apache 18) What is initrd? 1) What does load average signify ? 2) What implementation of NFS was used at your organisation? A: Netapp 3) How would you troubleshoot/recover a heavily loaded server? 4) What tools did you use to monitor system resourses? 5) Have you ever written custom monitor scripts for Nagios? 6) How would you declare a variable and use it in bash? 7) What was you apache tomcat setup like? What did you use to connect Apache to Tomcat?

A. Test Embedded C 1. Is C case sensitive language? Yes/No 2. Complete function below for swapping two values given by pointers. void SwapValues(unsigned int *pVal1, unsigned int *pVal2) { assert(pVal1 != NULL); assert(pVal2 != NULL); } 3. You have following code, what will be value of "b"? int a[10] = {1,2,3,4,5,6,7,8,9,10} int *b = *(&a[3] + 2); 4. Write macro which will return minimum of two given numbers. 5. You have value in "a" stored as big endian, write code to change its value to little endian. 6. Is the following function interrupt service routine? unsigned int isr_timer0(int value){ printf("Output: %d\n", value); return value + 10; } 6. Given function which fill array with natural number sequence. Does the function returns number of written items? unsigned int * fillNumber(unsigned int *pBuffer, unsigned int n) { unsigned int i; for(i = 0; i < n; n++) { pBuffer[i] = i + 1; } return &i; } B. Interview Introduce yourself. How you will debug multi-thread application. Do you have any experiences with linux kernel side development? What kind of ARM platforms do you know? What is the difference of standard kernel and RTOS kernel of Linux? How do you change priority of some process? What type of logic analyzer will you use? What are the difference between logic analyzer and oscilloscope? What types of soft-cores for FPGA do you know? What it TPM? (Trusted Platform Module.) What are you experiences with Linux security? How you will store passwords on some system?
Jun 24, 2015

A. Test Embedded C 1. Is C case sensitive language? Yes/No 2. Complete function below for swapping two values given by pointers. void SwapValues(unsigned int *pVal1, unsigned int *pVal2) { assert(pVal1 != NULL); assert(pVal2 != NULL); } 3. You have following code, what will be value of "b"? int a[10] = {1,2,3,4,5,6,7,8,9,10} int *b = *(&a[3] + 2); 4. Write macro which will return minimum of two given numbers. 5. You have value in "a" stored as big endian, write code to change its value to little endian. 6. Is the following function interrupt service routine? unsigned int isr_timer0(int value){ printf("Output: %d\n", value); return value + 10; } 6. Given function which fill array with natural number sequence. Does the function returns number of written items? unsigned int * fillNumber(unsigned int *pBuffer, unsigned int n) { unsigned int i; for(i = 0; i < n; n++) { pBuffer[i] = i + 1; } return &i; } B. Interview Introduce yourself. How you will debug multi-thread application. Do you have any experiences with linux kernel side development? What kind of ARM platforms do you know? What is the difference of standard kernel and RTOS kernel of Linux? How do you change priority of some process? What type of logic analyzer will you use? What are the difference between logic analyzer and oscilloscope? What types of soft-cores for FPGA do you know? What it TPM? (Trusted Platform Module.) What are you experiences with Linux security? How you will store passwords on some system?

Viewing 381 - 390 interview questions

Glassdoor has 671 interview questions and reports from Linux engineer interviews. Prepare for your interview. Get hired. Love your job.