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

面试题 相关文章推荐
xml有哪些解析技术?区别是什么
Apr 26 面试题
如何实现jdbc性能优化
Jul 30 面试题
精伦电子Java笔试题
Jan 16 面试题
C++面试题目
Jun 25 面试题
如何在存储过程中使用Loop
Jan 05 面试题
.net开发工程师面试题
Feb 25 面试题
最新远光软件笔试题面试题内容
Nov 08 面试题
请解释一下webService? 如何用.net实现webService
Jun 09 面试题
什么是虚拟内存?虚拟内存有什么优势?
Feb 19 面试题
中科方德软件测试面试题
Apr 21 面试题
JAVA语言如何进行异常处理,关键字:throws,throw,try,catch,finally分别代表什么意义?在try块中可以抛出异常吗?
Jul 02 面试题
Java语言程序设计测试题选择题部分
Apr 03 面试题
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
虫族 ZERG 概述
2020/03/14 星际争霸
新的一年,新的期待:DC在2020年的四部动画电影
2020/01/01 欧美动漫
php版小黄鸡simsimi聊天机器人接口分享
2014/01/26 PHP
CodeIgniter删除和设置Cookie的方法
2015/04/07 PHP
php简单实现查询数据库返回json数据
2015/04/16 PHP
PHP Trait代码复用类与多继承实现方法详解
2019/06/17 PHP
通过PHP的Wrapper无缝迁移原有项目到新服务的实现方法
2020/04/02 PHP
JavaScript OOP类与继承
2009/11/15 Javascript
Jquery Autocomplete 结合asp.net使用要点
2010/10/29 Javascript
js中判断文本框是否为空的两种方法
2011/07/31 Javascript
在jquery中combobox多选的不兼容问题总结
2013/12/24 Javascript
js实现input密码框提示信息的方法(附html5实现方法)
2016/01/14 Javascript
Node.js文件操作方法汇总
2016/03/22 Javascript
JS实现添加,替换,删除节点元素的方法
2016/06/30 Javascript
Jquery和Js获得元素标签名称的方法总结
2016/10/08 Javascript
jQuery插件版本冲突的处理方法分析
2017/01/16 Javascript
纯js三维数组实现三级联动效果
2017/02/07 Javascript
Vue2.0设置全局样式(less/sass和css)
2017/11/18 Javascript
vue input输入框模糊查询的示例代码
2018/05/22 Javascript
微信小程序实现点击空白隐藏的方法示例
2019/08/13 Javascript
Javascript实现html转pdf高清版(提高分辨率)
2020/02/19 Javascript
python里大整数相乘相关技巧指南
2014/09/12 Python
Python中elasticsearch插入和更新数据的实现方法
2018/04/01 Python
pytorch对梯度进行可视化进行梯度检查教程
2020/02/04 Python
Python 实现图片转字符画的示例(静态图片,gif皆可)
2020/11/05 Python
python输出国际象棋棋盘的实例分享
2020/11/26 Python
浅谈html5 响应式布局
2014/12/24 HTML / CSS
经济管理专业毕业生推荐信
2013/11/11 职场文书
2014高考励志标语
2014/06/05 职场文书
机电一体化专业毕业生自荐信
2014/06/19 职场文书
运输企业安全生产责任书
2014/07/28 职场文书
教师四风问题整改措施
2014/09/25 职场文书
和谐家庭事迹材料
2014/12/20 职场文书
教师培训学习心得体会
2016/01/21 职场文书
PYTHON InceptionV3模型的复现详解
2022/05/06 Python
MySql如何将查询的出来的字段进行转换
2022/06/14 MySQL