Linux admin interview questions
Following are some Linux admin interview questions: Do you know them? Can you Answer them?
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?
Hello Guys,
I made a few collection of linux interview q & a’s here :
simplylinuxfaq.blogspot.in/p/linux-system-administrator-interview_5.html
I hope this helps.
Thanks,
Mssm
Editors note: Mind post these questions here?
Please send the answers to my email address. I have an interview in a couple of days. Thanks so much!
hi can u plz send me the answers plzzzz
[email protected]
can u please send me answers nice questions….
Hi can you please forword all answer on my mail id as soon as possible
plz send me answers to my email, mail id [email protected]
Please email the answers of this questions….It would be very helpful…
pls send me the answers
please sand me answer all question
send me the answer of all above question
plz send me the answer
This is a combination of very good questions. Please send me answers.
. 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?
Hi
hey can you send me the answer to my mail id huh…..
And also send some some more interview question along wit answer
thanks
please send the answers to my mail id.. questions are good..
Can u forward the answers to my mail -id.
Hi
Please send the answers to my mail id thanks.
Hello,
This is very good questions for interview so can you please send me the answers for that question as early as possiblem.
Thanks and Regards
Vikas Nagpal
plz send me that answers & also job sites
thank U
byeee
Questions are nice. but please can anyone send the exact answers of all these questions?
Hi,
please i need answers for these questions because some are linux and scripting questions
following are some linux administration questions, I need answer please send me.
thanks