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

面试题 相关文章推荐
在Java开发中如何选择使用哪种集合类
Aug 09 面试题
C++是不是类型安全的
Feb 18 面试题
几道数据库的概念性面试题
May 30 面试题
木马的传播途径主要有哪些
Apr 08 面试题
说出你对remoting 和webservice的理解和应用
Jun 08 面试题
在c#中using和new这两个关键字有什么意义
May 19 面试题
sort命令的作用和用法
Nov 04 面试题
中科创达面试题
Dec 28 面试题
Python如何实现单例模式
Jun 03 面试题
垃圾回收的优点和原理
May 16 面试题
Java面试题:请说出如下代码的输出结果
Apr 22 面试题
同步和异步有何异同,在什么情况下分别使用他们
Apr 09 面试题
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开发规范手册之PHP代码规范详解
2011/01/13 PHP
解析dedeCMS验证码的实现代码
2013/06/07 PHP
浅析php中抽象类和接口的概念以及区别
2013/06/27 PHP
php静态成员方法和静态的成员属性的使用方法
2017/10/26 PHP
Discuz! 6.1_jQuery兼容问题
2008/09/23 Javascript
Kibo 用于处理键盘事件的Javascript工具库
2011/10/28 Javascript
JavaScript动态创建div属性和样式示例代码
2013/10/09 Javascript
使用Javascript简单实现图片无缝滚动
2014/12/05 Javascript
JavaScript获得页面base标签中url的方法
2015/04/03 Javascript
jquery移动点击的项目到列表最顶端的方法
2015/06/24 Javascript
轻量级网页遮罩层jQuery插件用法实例
2015/07/31 Javascript
Javascript 基础---Ajax入门必看
2016/07/06 Javascript
AngularJS基础 ng-submit 指令简单示例
2016/08/03 Javascript
详解javascript事件绑定使用方法
2016/10/20 Javascript
Vue2 SSR渲染根据不同页面修改 meta
2017/11/20 Javascript
vue 虚拟dom的patch源码分析
2018/03/01 Javascript
微信小程序 SOTER 生物认证DEMO 指纹识别功能
2019/12/13 Javascript
python 数据加密代码
2008/12/24 Python
python3序列化与反序列化用法实例
2015/05/26 Python
解析Python中的__getitem__专有方法
2016/06/27 Python
pandas object格式转float64格式的方法
2018/04/10 Python
Transpose 数组行列转置的限制方式
2020/02/11 Python
html如何对span设置宽度
2019/10/30 HTML / CSS
美国网上眼镜供应商:LEOTONY(眼镜、RX太阳镜和太阳镜)
2017/10/31 全球购物
行政人员工作职责
2013/12/05 职场文书
仓库门卫岗位职责
2013/12/22 职场文书
预备党员党课思想汇报
2014/01/13 职场文书
企业宣传方案
2014/03/04 职场文书
模特大赛策划方案
2014/05/28 职场文书
三潭印月的导游词
2015/02/12 职场文书
个人求职自荐信范文
2015/03/06 职场文书
学生病假条范文
2015/08/17 职场文书
《攀登者》:“海拔8000米以上,你不能指望任何人”
2019/11/25 职场文书
matplotlib如何设置坐标轴刻度的个数及标签的方法总结
2021/06/11 Python
springboot中的pom文件 project报错问题
2022/01/18 Java/Android
一文弄懂MySQL中redo log与binlog的区别
2022/02/15 MySQL