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面试问题考卷
Jul 15 面试题
Ibatis的核心配置文件都有什么
Sep 08 面试题
编写用C语言实现的求n阶阶乘问题的递归算法
Oct 21 面试题
C++面试题目
Jun 25 面试题
软件测试笔试题
Oct 25 面试题
介绍一下RMI的基本概念
Dec 17 面试题
在Ajax应用中信息是如何在浏览器和服务器之间传递的
May 31 面试题
AJAX的优缺点都有什么
Aug 18 面试题
介绍下Lucene建立索引的过程
Mar 02 面试题
大唐面试试题(CPU,UNIX等等)
Jan 11 面试题
JSP&Servlet技术面试题
May 21 面试题
JPA的优势都有哪些
Jul 04 面试题
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实现多服务器session共享之NFS共享的方法
2007/03/16 PHP
通过JavaScript或PHP检测Android设备的代码
2011/03/09 PHP
PHP迭代器实现斐波纳契数列的函数
2013/11/12 PHP
PHP中的日期加减方法示例
2014/08/21 PHP
php实现转换ubb代码的方法
2015/06/18 PHP
php简单统计字符串单词数量的方法
2015/06/19 PHP
Yii中CGridView禁止列排序的设置方法
2016/07/12 PHP
PHP控制前台弹出对话框的实现方法
2016/08/21 PHP
php常用字符串长度函数strlen()与mb_strlen()用法实例分析
2019/06/25 PHP
一个对于js this关键字的问题
2007/01/09 Javascript
Javascript 强制类型转换函数
2009/05/17 Javascript
解决jquery插件:TypeError:$.browser is undefined报错的方法
2015/11/21 Javascript
js实现按座位号抽奖
2017/04/05 Javascript
js实现指定时间倒计时效果
2019/08/26 Javascript
WEEX环境搭建与入门详解
2019/10/16 Javascript
解决removeEventListener 无法清除监听的问题
2020/10/30 Javascript
[01:20]DOTA2上海特级锦标赛现场采访:谁的ID最受青睐
2016/03/25 DOTA
[01:06:25]Secret vs Liquid 2018国际邀请赛淘汰赛BO3 第一场 8.25
2018/08/29 DOTA
[37:03]完美世界DOTA2联赛PWL S3 INK ICE vs GXR 第二场 12.16
2020/12/18 DOTA
Python中的字典遍历备忘
2015/01/17 Python
python文件转为exe文件的方法及用法详解
2019/07/08 Python
scrapy头部修改的方法详解
2020/12/06 Python
Python之多进程与多线程的使用
2021/02/23 Python
CSS3 边框效果
2019/11/04 HTML / CSS
html5的websockets全双工通信详解学习示例
2014/02/26 HTML / CSS
英国广泛的照明产品网站:Lights4living
2018/01/28 全球购物
eDreams加拿大:廉价航班、酒店和度假
2019/03/29 全球购物
上海期货面试题
2014/01/31 面试题
促销活动总结范文
2014/04/30 职场文书
中秋节国旗下演讲稿
2014/09/05 职场文书
2015年十一国庆节演讲稿
2015/03/20 职场文书
学校青年志愿者活动总结
2015/05/06 职场文书
买卖合同纠纷代理词
2015/05/25 职场文书
技术入股合作协议书
2016/03/21 职场文书
一次MySQL启动导致的事故实战记录
2021/09/15 MySQL
Nginx如何限制IP访问只允许特定域名访问
2022/07/23 Servers