Linux管理员面试题 Linux admin interview questions


Posted in 面试题 onNovember 01, 2014
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?

Tags in this post...

面试题 相关文章推荐
如何实现jdbc性能优化
Jul 30 面试题
到底Java是如何传递参数的?是by value或by reference?
Jul 13 面试题
简述你对Statement,PreparedStatement,CallableStatement的理解
Mar 25 面试题
JSF面试题:Jsf中导航的标签是什么
Apr 20 面试题
SQL Server 2000数据库的文件有哪些,分别进行描述
Mar 30 面试题
介绍一下SQL中union,intersect和minus
Apr 05 面试题
VLAN和VPN有什么区别?分别实现在OSI的第几层?
Dec 23 面试题
网络安全类面试题
Aug 01 面试题
什么是索引指示器
Aug 20 面试题
linux面试题参考答案(8)
Aug 11 面试题
方正Java笔试题
Jul 03 面试题
shell程序如何生命变量?shell变量是弱变量吗?
Nov 10 面试题
shell程序中如何注释
Feb 17 #面试题
Linux Interview Questions For software testers
Jun 02 #面试题
Linux的文件类型
Mar 07 #面试题
什么是Linux虚拟文件系统VFS
Jan 31 #面试题
Linux常见面试题
Mar 18 #面试题
ShellScript面试题一则-ShellScript编程
Jun 24 #面试题
Linux文件系统类型
Feb 15 #面试题
You might like
第十二节 类的自动加载 [12]
2006/10/09 PHP
php 遍历数据表数据并列表横向排列的代码
2009/09/05 PHP
PHP5.3.1 不再支持ISAPI
2010/01/08 PHP
php二维数组转成字符串示例
2014/02/17 PHP
JQuery 写的个性导航菜单
2009/12/24 Javascript
基于JQuery实现的类似购物商城的购物车
2011/12/06 Javascript
javascript动态修改Li节点值的方法
2015/01/20 Javascript
学习jQuey中的return false
2015/12/18 Javascript
Javascript 跨域知识详细介绍
2016/10/30 Javascript
Bootstrap CSS布局之表格
2016/12/17 Javascript
基于Angular.js实现的触摸滑动动画实例代码
2017/02/19 Javascript
Vue组件选项props实例详解
2017/08/18 Javascript
vue 全局环境切换问题
2019/10/27 Javascript
微信小程序以ssm做后台开发的实现示例
2020/04/08 Javascript
Javascript幻灯片播放功能实现过程解析
2020/05/07 Javascript
js闭包的9个使用场景
2020/12/29 Javascript
基于Python在MacOS上安装robotframework-ride
2018/12/28 Python
python解析含有重复key的json方法
2019/01/22 Python
Python的UTC时间转换讲解
2019/02/26 Python
python实现简单图片物体标注工具
2019/03/18 Python
python爬虫爬取监控教务系统的思路详解
2020/01/08 Python
Django 实现对已存在的model进行更改
2020/03/28 Python
matplotlib quiver箭图绘制案例
2020/04/17 Python
基于python实现matlab filter函数过程详解
2020/06/08 Python
Python如何实现大型数组运算(使用NumPy)
2020/07/24 Python
Pandas替换及部分替换(replace)实现流程详解
2020/10/12 Python
如何用python 操作zookeeper
2020/12/28 Python
详解Python 中的 defaultdict 数据类型
2021/02/22 Python
一款纯css3实现的圆形旋转分享按钮旋转角度可自己调整
2014/09/02 HTML / CSS
Android面试题及答案
2015/09/04 面试题
如何进行Linux分区优化
2013/02/12 面试题
工程现场管理求职自荐信
2013/10/02 职场文书
煤矿安全生产责任书
2014/04/15 职场文书
人事经理岗位职责
2014/04/28 职场文书
超市开业庆典活动策划方案
2014/09/15 职场文书
银行客户经理岗位职责
2015/04/09 职场文书