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

面试题 相关文章推荐
PHP开发的一般流程
Aug 13 面试题
得到Class的三个过程是什么
Aug 10 面试题
天游软件面试
Nov 23 面试题
DataList 能否分页,请问如何实现?
May 03 面试题
ASP.NET中的身份验证有那些
Jul 13 面试题
什么是网络协议
Apr 07 面试题
linux面试相关问题
Aug 11 面试题
英智兴达软件测试笔试题
Oct 12 面试题
客服端调用EJB对象的几个基本步骤
Jan 15 面试题
Python中pass语句的作用是什么
Jun 01 面试题
Java中各种基本数据类型的默认值都是什么
Dec 22 面试题
如何将一个描述日期或日期/时间的字符串转换为一个Date对象
Oct 13 面试题
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自动跳转中英文页面
2008/07/29 PHP
PHP中模拟处理HTTP PUT请求的例子
2014/07/22 PHP
PHP实现XML与数据格式进行转换类实例
2015/07/29 PHP
Gambit vs ForZe BO3 第二场 2.13
2021/03/10 DOTA
Web版彷 Visual Studio 2003 颜色选择器
2007/01/09 Javascript
javascript 二分法(数组array)
2010/04/24 Javascript
在Ajax中使用Flash实现跨域数据读取的实现方法
2010/12/02 Javascript
javascript 闭包
2011/09/15 Javascript
获取服务器传来的数据 用JS去空格的正则表达式
2012/03/26 Javascript
jquery实现标签上移、下移、置顶
2015/04/26 Javascript
Javascript节点关系实例分析
2015/05/15 Javascript
Node.js实用代码段之正确拼接Buffer
2016/03/17 Javascript
JavaScript重载函数实例剖析
2016/05/13 Javascript
javascript回到顶部特效
2016/07/30 Javascript
Bootstrap免费字体和图标网站(值得收藏)
2017/03/16 Javascript
详解ElementUI之表单验证、数据绑定、路由跳转
2017/06/21 Javascript
ionic3 懒加载
2017/08/16 Javascript
67 个节约开发时间的前端开发者的工具、库和资源
2017/09/12 Javascript
vue.js多页面开发环境搭建过程
2019/04/24 Javascript
使用VueCli3+TypeScript+Vuex一步步构建todoList的方法
2019/07/25 Javascript
Python修改Excel数据的实例代码
2013/11/01 Python
Python读取图片为16进制表示简单代码
2018/01/19 Python
windows下Python安装、使用教程和Notepad++的使用教程
2019/10/06 Python
python 穷举指定长度的密码例子
2020/04/02 Python
实现Python3数组旋转的3种算法实例
2020/09/16 Python
美国领先的低折扣旅行网站:Hotwire
2019/01/19 全球购物
如何启动时不需输入用户名与密码
2014/05/09 面试题
药品业务员岗位职责
2014/04/17 职场文书
人力资源管理专业自荐书
2014/07/07 职场文书
社区服务活动小结
2014/07/08 职场文书
基层干部群众路线教育实践活动个人对照检查材料
2014/09/23 职场文书
离婚协议书应该怎么写
2014/10/12 职场文书
85句关于理想的名言警句大全
2019/08/22 职场文书
超级实用!五步法则,教你写好年终工作总结
2019/12/05 职场文书
JavaScript 语句之常用 for 循环详解
2021/03/29 Javascript
mysql 生成连续日期及变量赋值
2022/03/20 MySQL