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面试题及答案二
May 23 面试题
网络、C以及其他硬件方面的面试题
Aug 23 面试题
下述程序的作用是计算机数组中的最大元素值及其下标
Nov 26 面试题
WINDOWS域的具体实现方式是什么
Feb 20 面试题
恶意软件的定义
Nov 12 面试题
网络安全类面试题
Aug 01 面试题
C#实现对任一张表的数据进行增,删,改,查要求,运用Webservice,体现出三层架构
Jul 11 面试题
50道外企软件测试面试题
Aug 18 面试题
EJB3.1都有哪些改进
Nov 17 面试题
百度JavaScript笔试题
Jan 15 面试题
如何提高MySql的安全性
Jun 19 面试题
若通过ObjectOutputStream向一个文件中多次以追加方式写入object,为什么用ObjectInputStream读取这些object时会产生StreamCorruptedException?
Oct 17 面试题
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/11/10 PHP
使用PHP和JavaScript判断请求是否来自微信内浏览器
2015/08/18 PHP
详解PHP归并排序的实现
2016/10/18 PHP
PHP自定义错误处理的方法分析
2018/12/19 PHP
JS 创建对象(常见的几种方法)
2008/11/03 Javascript
jQuery ajax(复习)—Baidu ajax request分离版
2013/01/24 Javascript
javascript 函数声明与函数表达式的区别介绍
2013/10/05 Javascript
使用jquery解析XML示例代码
2014/09/05 Javascript
jquery实现拖拽调整Div大小
2015/01/30 Javascript
JavaScript字符串常用类使用方法汇总
2015/04/14 Javascript
javascript实现仿IE顶部的可关闭警告条
2015/05/05 Javascript
JS将滑动门改为选项卡(需鼠标点击)的实现方法
2015/09/27 Javascript
jquery实现简单实用的弹出层效果代码
2015/10/15 Javascript
AngularJS指令与指令之间的交互功能示例
2016/12/14 Javascript
微信小程序开发的四十个技术窍门总结(推荐)
2017/01/23 Javascript
使用原生js+canvas实现模拟心电图的实例
2017/09/20 Javascript
实例详解Node.js 函数
2018/06/10 Javascript
微信小程序实现同一页面取值的方法分析
2019/04/30 Javascript
js实现坦克移动小游戏
2019/10/28 Javascript
Python模块搜索概念介绍及模块安装方法介绍
2015/06/03 Python
python3解析库BeautifulSoup4的安装配置与基本用法
2018/06/26 Python
Python运维开发之psutil库的使用详解
2018/10/18 Python
利用Python模拟登录pastebin.com的实现方法
2019/07/12 Python
Python numpy线性代数用法实例解析
2019/11/15 Python
Spring Boot中使用IntelliJ IDEA插件EasyCode一键生成代码详细方法
2020/03/20 Python
解决python DataFrame 打印结果不换行问题
2020/04/09 Python
在django中查询获取数据,get, filter,all(),values()操作
2020/08/09 Python
使用css3实现的windows8开机加载动画
2014/12/09 HTML / CSS
Fossil美国官网:Fossil手表、手袋、珠宝及配件
2017/02/01 全球购物
巴西最好的男鞋:Rafarillo
2018/05/25 全球购物
伦敦眼门票在线预订:London Eye
2018/05/31 全球购物
施工资料员的岗位职责
2013/12/22 职场文书
银行求职信
2014/05/31 职场文书
大一学生个人总结
2015/02/15 职场文书
公司承诺书格式范文
2015/04/28 职场文书
百善孝为先:关于孝道的经典语录
2019/10/18 职场文书