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

面试题 相关文章推荐
PHP面试题及答案一
Jun 18 面试题
华为慧通面试题
Sep 11 面试题
第一范式(1NF)、第二范式(2NF)和第三范式(3NF)之间的区别是什么?
Apr 28 面试题
北京某公司的.net笔试题
Mar 20 面试题
什么是动态端口(Dynamic Ports)?动态端口的范围是多少?
Dec 12 面试题
简述安装Slackware Linux系统的过程
Jan 12 面试题
EJB3.1都有哪些改进
Nov 17 面试题
什么是GWT的Module
Jan 20 面试题
this关键字的作用
Jan 30 面试题
IBatis持久层技术
Jul 18 面试题
一道Delphi上机题
Jun 04 面试题
JAVA软件工程师测试题
Jul 25 面试题
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
PHP面向接口编程 耦合设计模式 简单范例
2011/03/23 PHP
PHP中设置时区,记录日志文件的实现代码
2013/01/07 PHP
关于svn冲突的解决方法
2013/06/21 PHP
PHP使用Face++接口开发微信公众平台人脸识别系统的方法
2015/04/17 PHP
PHP将Excel导入数据库及数据库数据导出至Excel的方法
2015/06/24 PHP
PHP中如何使用session实现保存用户登录信息
2015/10/20 PHP
Laravel4中的Validator验证扩展用法详解
2016/07/26 PHP
JQUERY1.6 使用方法四 检测浏览器
2011/11/23 Javascript
Javascript call和apply区别及使用方法
2013/11/14 Javascript
javascript数组操作总结和属性、方法介绍
2014/04/05 Javascript
使用JavaScript链式编程实现模拟Jquery函数
2014/12/21 Javascript
javascript省市区三级联动下拉框菜单实例演示
2015/11/29 Javascript
javascript正则表达式定义(语法)总结
2016/01/08 Javascript
JS封装通过className获取元素的函数示例
2016/12/20 Javascript
几行js代码实现自适应
2017/02/24 Javascript
使用Vue开发动态刷新Echarts组件的教程详解
2018/03/22 Javascript
ES6 Set结构的应用实例分析
2019/06/26 Javascript
vue下的@change事件的实现
2019/10/25 Javascript
Vue.js 实现地址管理页面思路详解(地址添加、编辑、删除和设置默认地址)
2019/12/11 Javascript
[02:51]DOTA2 2015国际邀请赛中国区预选赛第一日战报
2015/05/27 DOTA
[01:02:48]2018DOTA2亚洲邀请赛小组赛 A组加赛 Newbee vs Liquid
2018/04/03 DOTA
wxpython学习笔记(推荐查看)
2014/06/09 Python
Python文件和目录操作详解
2015/02/08 Python
python UNIX_TIMESTAMP时间处理方法分析
2016/04/18 Python
python在每个字符后添加空格的实例
2018/05/07 Python
Python利用itchat库向好友或者公众号发消息的实例
2019/02/21 Python
Numpy 理解ndarray对象的示例代码
2020/04/03 Python
css3中背景尺寸background-size详解
2014/09/02 HTML / CSS
Roxy美国官网:澳大利亚冲浪、滑雪健身品牌
2016/07/30 全球购物
Crocs卡骆驰洞洞鞋日本官方网站:Crocs日本
2016/08/25 全球购物
潘多拉珠宝美国官方网站:Pandora US
2020/06/18 全球购物
教师演讲稿范文
2014/01/08 职场文书
20岁生日感言
2014/01/13 职场文书
交通事故协议书范文
2014/10/23 职场文书
小学三年级作文之写景
2019/11/05 职场文书
js前端设计模式优化50%表单校验代码示例
2022/06/21 Javascript