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

面试题 相关文章推荐
SQL Server 2000数据库的文件有哪些,分别进行描述
Mar 30 面试题
一道写SQL的面试题和答案
Nov 19 面试题
试解释COMMIT操作和ROLLBACK操作的语义
Jul 25 面试题
几道数据库的面试题或笔试题
May 31 面试题
北京天润融通.net面试题笔试题
Feb 20 面试题
请解释接口的显式实现有什么意义
May 26 面试题
渗透攻击的测试步骤
Jun 07 面试题
C#中类(class)与结构(struct)的异同
Nov 03 面试题
Linux面试题LINUX系统类
Nov 25 面试题
几个Shell Script面试题
Aug 31 面试题
请写出一段Python代码实现删除一个list里面的重复元素
Dec 29 面试题
Servlet的生命周期
Aug 25 面试题
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
从Web查询数据库之PHP与MySQL篇
2009/09/25 PHP
php遍历文件夹所有文件子文件夹函数代码
2013/11/27 PHP
实例讲解如何在PHP的Yii框架中进行错误和异常处理
2016/03/17 PHP
Yii2框架使用计划任务的方法
2016/05/25 PHP
php实现的中秋博饼游戏之绘制骰子图案功能示例
2017/11/06 PHP
PHP PDOStatement::fetchObject讲解
2019/02/01 PHP
脚本收藏iframe
2006/07/21 Javascript
javascript的原生方法获取数组中的最大(最小)值
2012/12/19 Javascript
ExtJS4如何给同一个formpanel不同的url
2014/05/02 Javascript
js用typeof方法判断undefined类型
2014/07/15 Javascript
JavaScript入门基础
2015/08/12 Javascript
JavaScipt中栈的实现方法
2016/02/17 Javascript
简单的jQuery banner图片轮播实例代码
2016/03/04 Javascript
Js+Ajax,Get和Post在使用上的区别小结
2016/06/08 Javascript
js定义类的几种方法(推荐)
2016/06/08 Javascript
Node.js包管理器Yarn的入门介绍与安装
2016/10/17 Javascript
Bootstrap modal使用及点击外部不消失的解决方法
2016/12/13 Javascript
Bootstrap CSS布局之代码
2016/12/17 Javascript
详解React Native开源时间日期选择器组件(react-native-datetime)
2017/09/13 Javascript
利用jqprint插件打印页面内容的实现方法
2018/01/09 Javascript
JavaScript 复制对象与Object.assign方法无法实现深复制
2018/11/02 Javascript
python检查URL是否正常访问的小技巧
2017/02/25 Python
Python 40行代码实现人脸识别功能
2017/04/02 Python
Windows下的Jupyter Notebook 安装与自定义启动(图文详解)
2018/02/21 Python
详解将Django部署到Centos7全攻略
2018/09/26 Python
tensorflow求导和梯度计算实例
2020/01/23 Python
Python 实现将某一列设置为str类型
2020/07/14 Python
canvas探照灯效果的示例代码
2018/11/30 HTML / CSS
西班牙三叶草药房:Farmacias Trébol
2019/05/03 全球购物
Java文件和目录(IO)操作
2014/08/26 面试题
餐饮部总监岗位职责范文
2014/02/13 职场文书
满月酒主持词
2014/03/27 职场文书
项目申报专员岗位职责
2014/07/09 职场文书
我与祖国共奋进演讲稿
2014/09/13 职场文书
领导党的群众路线教育实践活动个人对照检查材料
2014/09/23 职场文书
Python OpenCV超详细讲解读取图像视频和网络摄像头
2022/04/02 Python