Linux Admin Interview Questions and Answers
Linux Admin Interview Questions and Answers
1. Using the man pages, find the correct ioctl to send console output to an arbitrary
pty
2. What is an MX record?
4. What does a plus at the beginning of a line in the password file signify?
6. What is the prom command on a Sun that shows the SCSI devices?
7. How do you take a single line of input from the user in a shell script?
8. Write a script to convert all DOS style backslashes to UNIX style slashes in a list of
files
9. Write a regular expression (or sed script) to replace all occurrences of the letter ‘f’,
followed by any number of characters, followed by the letter ‘a’, followed by one or
more numeric characters, followed by the letter ‘n’, and replace what’s found with the
string “UNIX”
13. What happens to a child process that dies and has no parent process to wait for it
and what’s bad about this?
19. Write a script to send mail from three other machines on the network to root at
the machine you’re on Use a ‘here doc’, but include in the mail message the name of
the machine the mail is sent from and the disk utilization statistics on each machine?
20. Why can’t root just cd to someone’s home directory and run a program called aout
sitting there by typing “aout”, and why is this good?
22. What is DNS?
26. How do you fix a problem where a printer will cutoff anything over MB?
3. Differences between two last MySQL versions Which one would you choose and
when/why?
4. Which tool would you use to update Debian / Slackware / RedHat / Mandrake /
SuSE ?
8. Main differences between Apache x and x Why is x not so popular? Which one
would you choose and when/why?
1) What is a superblock ?
2) What is a parity bit?
3) What is an inod?
4) Explain top command ?
5) How to disable the root login in SSH ?
6) use of sysctl command ?
7) LVM how to ?
Different RAID levels ?