News:

MyKidsDiary.in :: Capture your kids magical moment and create your Online Private Diary for your kids

Main Menu

Linux Admin Interview Questions and Answers

Started by Kalyan, Jan 10, 2009, 10:38 AM

Previous topic - Next topic

Kalyan

Linux Admin Interview Questions and Answers

   1. How do you take a single line of input from the user in a shell script?

   2. Write a script to convert all DOS style backslashes to UNIX style slashes in a list of files.

   3. 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".

   4. Write a script to list all the differences between two directories.

   5. Write a program in any language you choose, to reverse a file


   6. What are the fields of the password file?

   7. What does a plus at the beginning of a line in the password file signify?

   8. Using the man pages, find the correct ioctl to send console output to an arbitrary pty.

   9. What is an MX record?

  10. What is the prom command on a Sun that shows the SCSI devices?

  11. What is the factory default SCSI target for /dev/sd0?

  12. Where is that value controlled?

  13. What happens to a child process that dies and has no parent process to wait for it and what's bad about this?

  14. What's wrong with sendmail? What would you fix?

  15. What command do you run to check file system consistency?

  16. What's wrong with running shutdown on a network?

  17. What can be wrong with setuid scripts?

  18. What value does spawn return?

  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 a.out sitting there by typing "a.out", and why is this good?

  21. What is the difference between UDP and TCP?

  22. What is DNS?

  23. What does nslookup do?

  24. How do you create a swapfile?

  25. How would you check the route table on a workstation/server?

  26. How do you find which ypmaster you are bound to?

  27. How do you fix a problem where a printer will cutoff anything over 1MB?

  28. What is the largest file system size in solaris? SunOS?

  29. What are the different RAID levels?

Kalyan

   1. Advantages/disadvantages of script vs compiled program.

   2. Name a replacement for PHP/Perl/MySQL/Linux/Apache and show main differences.

   3. Why have you choosen such a combination of products?

   4. Differences between two last MySQL versions. Which one would you choose and when/why?

   5. Main differences between Apache 1.x and 2.x. Why is 2.x not so popular? Which one would you choose and when/why?

   6. Which Linux distros do you have experience with?

   7. Which distro you prefer? Why?

   8. Which tool would you use to update Debian / Slackware / RedHat / Mandrake / SuSE ?

   9. You're asked to write an Apache module. What would you do?

  10. Which tool do you prefer for Apache log reports?

  11. Your portfolio. (even a PHP guest book may work well)

  12. What does 'route' command do?

  13. Differences between ipchains and iptables.

  14. What's eth0, ppp0, wlan0, ttyS0, etc.

  15. What are different directories in / for?

  16. Partitioning scheme for new webserver. Why?

CCNARAJ

will you please upload your answer ? give answer please ? i have finishing RHCE Certification , any opening in your company please tell me.ccnaraj@rediffmail.com
Quote from: Cognitive on Jan 10, 2009, 10:39 AM
   1. Advantages/disadvantages of script vs compiled program.

   2. Name a replacement for PHP/Perl/MySQL/Linux/Apache and show main differences.

   3. Why have you choosen such a combination of products?

   4. Differences between two last MySQL versions. Which one would you choose and when/why?

   5. Main differences between Apache 1.x and 2.x. Why is 2.x not so popular? Which one would you choose and when/why?

   6. Which Linux distros do you have experience with?

   7. Which distro you prefer? Why?

   8. Which tool would you use to update Debian / Slackware / RedHat / Mandrake / SuSE ?

   9. You're asked to write an Apache module. What would you do?

  10. Which tool do you prefer for Apache log reports?

  11. Your portfolio. (even a PHP guest book may work well)

  12. What does 'route' command do?

  13. Differences between ipchains and iptables.

  14. What's eth0, ppp0, wlan0, ttyS0, etc.

  15. What are different directories in / for?

  16. Partitioning scheme for new webserver. Why?