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

面试题 相关文章推荐
面向对象编程的优势是什么
Dec 17 面试题
如果NULL定义成#define NULL((char *)0)难道不就可以向函数传入不加转换的NULL了吗
Feb 15 面试题
.NET笔试题(20个问题)
Feb 02 面试题
什么是TCP/IP
Jul 27 面试题
Discard Protocol抛弃协议的作用是什么
Oct 10 面试题
描述RIP和OSPF区别以及特点
Jan 17 面试题
什么是SCM(软件配置管理)
Aug 16 面试题
介绍一下Python下range()函数的用法
Nov 07 面试题
腾讯公司的一个sql题
Jan 22 面试题
Lucene推荐的分页方式是什么?
Dec 07 面试题
JSF界面控制层技术
Jun 17 面试题
四种会话跟踪技术
May 20 面试题
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
广播爱好者需要了解的天线知识
2021/03/01 无线电
PHP实现文件安全下载
2006/10/09 PHP
smtp邮件发送一例
2006/10/09 PHP
php时间戳转换的示例
2014/03/31 PHP
Codeigniter检测表单post数据的方法
2015/03/21 PHP
PHP数组与对象之间使用递归实现转换的方法
2015/06/24 PHP
Yii2.0高级框架数据库增删改查的一些操作
2015/11/16 PHP
firefox中JS读取XML文件
2006/12/21 Javascript
jquery实现智能感知连接外网搜索
2013/05/21 Javascript
jquery实现的一个导航滚动效果具体代码
2013/05/27 Javascript
node.js中的fs.truncate方法使用说明
2014/12/15 Javascript
jquery中change()用法实例分析
2015/02/06 Javascript
基于JavaScript的操作系统你听说过吗?
2016/01/28 Javascript
vue主动刷新页面及列表数据删除后的刷新实例
2018/09/16 Javascript
Vue插件之滑动验证码
2019/09/21 Javascript
JS实现简易留言板增删功能
2020/02/08 Javascript
[51:44]2018DOTA2亚洲邀请赛 4.3 突围赛 Optic vs iG 第二场
2018/04/04 DOTA
Python 在字符串中加入变量的实例讲解
2018/05/02 Python
Python批处理删除和重命名文件夹的实例
2018/07/11 Python
在pycharm上mongodb配置及可视化设置方法
2018/11/30 Python
Python操作MySQL数据库的两种方式实例分析【pymysql和pandas】
2019/03/18 Python
python中的单引号双引号区别知识点总结
2019/06/23 Python
Django 缓存配置Redis使用详解
2019/07/23 Python
关于PyCharm安装后修改路径名称使其可重新打开的问题
2020/10/20 Python
python爬取天气数据的实例详解
2020/11/20 Python
Dr. Martens马汀博士官网:马丁靴始祖品牌
2016/10/15 全球购物
英国皇室御用百货:福南梅森(Fortnum & Mason)
2017/12/03 全球购物
PHP面试题大全
2015/10/16 面试题
施工材料员岗位职责
2014/02/12 职场文书
工程安全员岗位职责
2014/03/09 职场文书
租赁协议书范本
2014/04/22 职场文书
2014单位领导班子四风对照检查材料思想汇报
2014/09/25 职场文书
2015年建筑工作总结报告
2015/05/04 职场文书
2019年12月24日平安夜祝福语集锦
2019/12/24 职场文书
mysql升级到5.7时,wordpress导数据报错1067的问题
2021/05/27 MySQL
Redis+Lua脚本实现计数器接口防刷功能(升级版)
2022/02/12 Redis