免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3738 | 回复: 3
打印 上一主题 下一主题

初级UNIX系统管理员面试问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-05 09:05 |只看该作者 |倒序浏览
Basic questions to ask SysAdmin candidates to shake out junior candidates:\r\n\r\n1. how would you add a user to your system?  \r\nIf the candidate answers SAM, Sysadmin, Smit, /usr/ucb/vipw,\r\nor any other type of sys admin tool, then ask them \"What files get modified?\"\r\n\r\nAnswer:\r\njust /etc/passwd on most systems.\r\n/etc/passwd and /etc/shadow in Solaris\r\n\r\n2. What files are used to configure DNS on a Unix box \r\n/etc/resolv.conf and /etc/nsswitch.conf\r\n\r\n3. What happens when the system boots? \r\nAnswer should include something about the /etc/rc?.d scripts \r\n(/etc/rc1.d, /etc/rc2.d, /etc/rc3.d).  Some systems still use /etc/rc.local\r\n(SunOS and HP-UX) or /sbin/rc[0-3].d scripts (Digital Unix) \r\n\r\n4. Where would you look for startup and error messages on a Unix server?\r\n/var/adm/messages (/usr/adm/syslog on HP-UX boxes).  They can also run\r\nthe command dmesg.\r\n\r\n5. What are some shells you\'d find on a Unix box?\r\nAnswer should include at least: Bourne shell (sh), C-Shell (csh) and\r\nKorn shell (ksh).  Might also mention Tom\'s C shell (tcsh), Bourne-again\r\nshell (bash), or z-shell (zsh).\r\n\r\n6. What are some other common unix scripting \"languages?\"\r\nLooking for sed, awk, perl, tcl/tk, etc\r\n\r\n7. What are the standard editors on a Unix system?\r\ned and vi.  Others are emacs and pico (these are becoming more and\r\nmore part of a standard unix distribution these days)\r\n\r\n8. What common unix utility do you use to compile complex C programs?\r\nAnswer: make.  \r\n\r\n9. How would you find the most recently changed file in a directory?\r\nls -latr or ls -ltr, then see which files are at the end of the list\r\nor\r\nls -lat or ls -lt and see which are at the top of the list\r\n\r\n(the t option of ls lists files by timestamp).\r\n\r\n10. How do you mount a file system to make its files available to users\r\non a system?  \r\nedit /etc/vfstab, add a line containing the physical disk the filesystem\r\nis located on and the directory name you want to mount the filesystem to.\r\n\r\nFollowup: Explain the difference between vfstab and mnttab\r\n/etc/vfstab is edited by the Sysadmin\r\n/etc/mnttab is system-generated\r\n\r\n11. How would you find all the processes being run by user \"joe?\"\r\n\r\nSystem 5: ps -fe | grep joe\r\nBerkeley: ps -auxww | grep joe

论坛徽章:
0
2 [报告]
发表于 2003-06-05 09:09 |只看该作者

初级UNIX系统管理员面试问题

有没有想一起出国做系统管理员的呀,我们一起干活吧

论坛徽章:
0
3 [报告]
发表于 2003-06-05 09:19 |只看该作者

初级UNIX系统管理员面试问题

好东东啊!你可以帮我吗?

论坛徽章:
0
4 [报告]
发表于 2003-06-05 12:15 |只看该作者

初级UNIX系统管理员面试问题

Good information. Thanks.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP