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数据运算类型都有哪些
Nov 05 面试题
JRE、JDK、JVM之间的关系怎样
May 16 面试题
*p++ 自增p 还是p所指向的变量
Jul 16 面试题
西安众合通用.net笔试题
Mar 18 面试题
南京某公司笔试题
Jan 27 面试题
what is the difference between ext2 and ext3
Aug 25 面试题
AJAX应用和传统Web应用有什么不同
Aug 24 面试题
什么时候需要进行强制类型转换
Sep 03 面试题
大唐面试试题(CPU,UNIX等等)
Jan 11 面试题
Java Servlet的主要功能和作用是什么
Feb 14 面试题
介绍一下Ruby的特点
Jan 20 面试题
给定一个时间点,希望得到其他时间点
Nov 07 面试题
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 使用expat方式解析xml文件操作示例
2019/11/26 PHP
PHP获取php,mysql,apche的版本信息及更多服务器信息
2021/03/09 PHP
javascript 表格排序和表头浮动效果(扩展SortTable)
2009/04/07 Javascript
一个可以兼容IE FF的加为首页与加入收藏实现代码
2009/11/02 Javascript
Javascript attachEvent传递参数的办法
2009/12/14 Javascript
javascript常用的正则表达式实例
2014/05/15 Javascript
BootStrap Table实现server分页序号连续显示功能(当前页从上一页的结束序号开始)
2017/09/12 Javascript
微信小程序之GET请求的实例详解
2017/09/29 Javascript
使用express搭建一个简单的查询服务器的方法
2018/02/09 Javascript
解决Vue打包之后文件路径出错的问题
2018/03/06 Javascript
Element-UI Table组件上添加列拖拽效果实现方法
2018/04/14 Javascript
解决vue点击控制单个样式的问题
2018/09/05 Javascript
js实现点击展开隐藏效果(实例代码)
2018/09/28 Javascript
微信小程序实现圆形进度条动画
2020/11/18 Javascript
jQuery实现的图片点击放大缩小功能案例
2020/01/02 jQuery
ES6 Generator基本使用方法示例
2020/06/06 Javascript
Python实现的求解最大公约数算法示例
2018/05/03 Python
Python根据指定日期计算后n天,前n天是哪一天的方法
2018/05/29 Python
APIStar:一个专为Python3设计的API框架
2018/09/26 Python
微信公众号token验证失败解决方案
2019/07/22 Python
Python爬虫:url中带字典列表参数的编码转换方法
2019/08/21 Python
python中Lambda表达式详解
2019/11/20 Python
如何使用python3获取当前路径及os.path.dirname的使用
2019/12/13 Python
windows支持哪个版本的python
2020/07/03 Python
教你如何用python操作摄像头以及对视频流的处理
2020/10/12 Python
python代码实现猜拳小游戏
2020/11/30 Python
使用before和:after伪类制作css3圆形按钮
2014/04/08 HTML / CSS
html5 Web SQL Database 之事务处理函数transaction与executeSQL解析
2013/11/07 HTML / CSS
公证委托书模板
2014/04/03 职场文书
大二学习计划书范文
2014/04/27 职场文书
音乐之声音乐广播稿
2014/09/10 职场文书
学生自我鉴定格式及范文
2014/09/16 职场文书
2015庆祝七一建党节94周年活动总结
2015/03/20 职场文书
2016参观监狱警示教育活动心得体会
2016/01/15 职场文书
什么是创业计划书?什么是商业计划书?这里一一解答
2019/07/12 职场文书
漫画「你在春天醒来」第10卷封面公开
2022/03/21 日漫