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

面试题 相关文章推荐
面向对象编程OOP的优点
Jan 22 面试题
xml有哪些解析技术?区别是什么
Apr 26 面试题
联强国际笔试题面试题
Jul 10 面试题
"火柴棍式"程序员面试题
Mar 16 面试题
经典C++面试题一
Nov 06 面试题
介绍一下linux的文件权限
Feb 15 面试题
linux比较文件内容的命令是什么
Sep 23 面试题
Why do we need Unit test
Jan 03 面试题
Python中如何定义一个函数
Sep 06 面试题
用JAVA实现一种排序,JAVA类实现序列化的方法(二种)
Apr 23 面试题
灵泰克Java笔试题
Jan 09 面试题
请介绍一下WSDL的文档结构
Mar 17 面试题
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
谷歌音乐搜索栏的提示功能php修正代码
2011/05/09 PHP
基于在生产环境中使用php性能测试工具xhprof的详解
2013/06/03 PHP
详解WordPress中用于更新和获取用户选项数据的PHP函数
2016/03/08 PHP
CI框架实现创建自定义类库的方法
2018/12/25 PHP
YII2框架中actions的作用与使用方法示例
2020/03/13 PHP
document 和 document.all 分别什么时候用
2006/06/22 Javascript
document.body.scrollTop 值总为0的解决方法 比较常见的标准问题
2009/11/30 Javascript
理解Javascript_06_理解对象的创建过程
2010/10/15 Javascript
JQuery对checkbox操作 (循环获取)
2011/05/20 Javascript
js捕获鼠标右键菜单中的粘帖事件实现代码
2013/04/01 Javascript
基于JavaScript 下namespace 功能的简单分析
2013/07/05 Javascript
jquery ajax jsonp跨域调用实例代码
2013/12/11 Javascript
js查找某元素中的所有图片地址的方法
2014/01/16 Javascript
JavaScript fontsize方法入门实例(按照指定的尺寸来显示字符串)
2014/10/17 Javascript
javascript实现支持移动设备画廊
2015/08/24 Javascript
jQuery网页右侧广告跟随滚动代码分享
2020/04/20 Javascript
纯JS代码实现一键分享功能
2016/04/20 Javascript
原生js检测页面加载完毕的实例
2018/09/11 Javascript
浅谈express.js框架中间件(middleware)
2019/04/07 Javascript
JavaScript中工厂函数与构造函数示例详解
2019/05/06 Javascript
jQuery实现飞机大战小游戏
2020/07/05 jQuery
vue 解决兄弟组件、跨组件深层次的通信操作
2020/07/27 Javascript
vue使用swiper实现左右滑动切换图片
2020/10/16 Javascript
python cookielib 登录人人网的实现代码
2012/12/19 Python
Python使用剪切板的方法
2017/06/06 Python
Python全局变量与局部变量区别及用法分析
2018/09/03 Python
python使用正则来处理各种匹配问题
2019/12/22 Python
tensorflow模型保存、加载之变量重命名实例
2020/01/21 Python
pyinstaller打包找不到文件的问题解决
2020/04/15 Python
美国购买隐形眼镜网站:Lenses For Less
2020/07/05 全球购物
中软国际Java程序员笔试题
2014/07/19 面试题
汽车销售助理岗位职责
2015/04/14 职场文书
2015年基层党建工作总结
2015/05/14 职场文书
《惊弓之鸟》教学反思
2016/02/20 职场文书
Python爬虫基础讲解之请求
2021/05/13 Python
Win11筛选键导致键盘失灵怎么解决? Win11关闭筛选键的技巧
2022/04/08 数码科技