Linux管理员面试题 Linux admin interview questions


Posted in 面试题 onJuly 08, 2016
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...

面试题 相关文章推荐
你所知道的集合类都有哪些?主要方法?
Dec 31 面试题
会话Bean的种类
Nov 07 面试题
AOP的定义以及作用
Sep 08 面试题
求网格中的黑点分布
Nov 06 面试题
将n个数按输入顺序的逆序排列,用函数实现
Nov 14 面试题
New delete 与malloc free 的联系与区别
Feb 04 面试题
如何理解委托
Jan 06 面试题
华三通信H3C面试题
May 15 面试题
几个Shell Script面试题
Apr 18 面试题
几个Shell Script面试题
Aug 31 面试题
中间件分为哪几类
Mar 14 面试题
IBatis持久层技术
Jul 18 面试题
shell程序中如何注释
Jan 28 #面试题
Linux Interview Questions For software testers
May 17 #面试题
Linux的文件类型
Jul 05 #面试题
什么是Linux虚拟文件系统VFS
Aug 25 #面试题
Linux常见面试题
Oct 04 #面试题
ShellScript面试题一则-ShellScript编程
Mar 05 #面试题
Linux文件系统类型
Sep 16 #面试题
You might like
实用函数8
2007/11/08 PHP
解决PHP mysql_query执行超时(Fatal error: Maximum execution time …)
2013/07/03 PHP
仿dedecms下拉分页样式修改的thinkphp分页类实例
2014/10/30 PHP
跨浏览器开发经验总结(四) 怎么写入剪贴板
2010/05/13 Javascript
浅析js中2个等号与3个等号的区别
2013/08/06 Javascript
JQuery插件Quicksand实现超炫的动画洗牌效果
2015/05/03 Javascript
学习vue.js中class与style绑定
2016/12/03 Javascript
基于jQuery实现滚动刷新效果
2017/01/09 Javascript
layer子层给父层页面元素赋值,以达到向父层页面传值的效果实例
2017/09/22 Javascript
jQuery实现定时隐藏对话框的方法分析
2018/02/12 jQuery
JS中用EL表达式获取上下文参数值的方法
2018/03/28 Javascript
jQuery实现基本动画效果的方法详解
2018/09/06 jQuery
更强大的vue ssr实现预取数据的方式
2019/07/19 Javascript
Vue退出登录时清空缓存的实现
2019/11/12 Javascript
微信小程序调用wx.getImageInfo遇到的坑解决
2020/05/31 Javascript
微信小程序自定义modal弹窗组件的方法详解
2020/12/20 Javascript
python进阶教程之动态类型详解
2014/08/30 Python
Python中Collections模块的Counter容器类使用教程
2016/05/31 Python
Python使用修饰器执行函数的参数检查功能示例
2017/09/26 Python
python: 自动安装缺失库文件的方法
2018/10/22 Python
python requests爬取高德地图数据的实例
2018/11/10 Python
用python脚本24小时刷浏览器的访问量方法
2018/12/07 Python
详解Python绘图Turtle库
2019/10/12 Python
Python动态导入模块和反射机制详解
2020/02/18 Python
解决paramiko执行命令超时的问题
2020/04/16 Python
GNC健安喜官方海外旗舰店:美国著名保健品牌
2017/01/04 全球购物
法雷奥SQA(electric)面试问题
2016/01/23 面试题
医院护理人员的自我评价分享
2013/10/04 职场文书
法人任命书范本
2014/06/04 职场文书
感恩教育月活动总结
2014/07/07 职场文书
入党函调证明材料
2014/12/24 职场文书
2015国庆节66周年演讲稿
2015/03/20 职场文书
欧也妮葛朗台读书笔记
2015/06/30 职场文书
详解vue身份认证管理和租户管理
2021/05/25 Vue.js
口袋妖怪冰系十大最强精灵,几何雪花排第七,第六类似北极熊
2022/03/18 日漫
JavaScript前端面试扁平数据转tree与tree数据扁平化
2022/06/14 Javascript