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

面试题 相关文章推荐
如何用Lucene索引数据库
Feb 23 面试题
C语言笔试集
Jul 24 面试题
DataReader和DataSet的异同
Dec 31 面试题
以思科路由器为例你写下单臂路由的配置命令
Aug 03 面试题
TCP/IP的分层模型
Oct 27 面试题
标记环网Toke Ring IEEE802.5
May 26 面试题
3个CCIE对一个工程师的面试题
May 06 面试题
OSPF有什么优点?为什么OSPF比RIP收敛快?
Feb 13 面试题
linux面试题参考答案(1)
Jan 22 面试题
介绍一下Linux文件的记录形式
Sep 29 面试题
分别介绍一下Session Bean和Entity Bean
Mar 13 面试题
在DELPHI中调用存储过程和使用内嵌SQL哪种方式更好
Nov 22 面试题
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
Thinkphp5.0框架视图view的循环标签用法示例
2019/10/12 PHP
将光标定位于输入框最右侧实现代码
2012/12/04 Javascript
js为鼠标添加右击事件防止默认的右击菜单弹出
2013/07/29 Javascript
jquery与js函数冲突的两种解决方法
2013/09/09 Javascript
javascript的parseFloat()方法精度问题探讨
2013/11/26 Javascript
jQuery中change事件用法实例
2014/12/26 Javascript
javascript验证邮件地址和MX记录的方法
2015/06/16 Javascript
很棒的js Tab选项卡切换效果
2016/08/30 Javascript
jquery实现全选、全不选以及单选功能
2017/03/23 jQuery
Node.js+Express+Mysql 实现增删改查
2019/04/03 Javascript
改变layer confirm弹窗按钮的颜色方法
2019/09/12 Javascript
jquery实现加载更多"转圈圈"效果(示例代码)
2020/11/09 jQuery
[45:32]Liquid vs LGD 2018国际邀请赛淘汰赛BO3 第二场 8.23
2018/08/24 DOTA
python元组操作实例解析
2014/09/23 Python
详解python3中socket套接字的编码问题解决
2017/07/01 Python
Python实现连接postgresql数据库的方法分析
2017/12/27 Python
Python实现提取XML内容并保存到Excel中的方法
2018/09/01 Python
python requests.post带head和body的实例
2019/01/02 Python
python 通过麦克风录音 生成wav文件的方法
2019/01/09 Python
Python多线程同步---文件读写控制方法
2019/02/12 Python
python GUI库图形界面开发之PyQt5信号与槽的高级使用技巧(自定义信号与槽)详解与实例
2020/03/06 Python
python实现微信打飞机游戏
2020/03/24 Python
python 将视频 通过视频帧转换成时间实例
2020/04/23 Python
解决django migrate报错ORA-02000: missing ALWAYS keyword
2020/07/02 Python
巴基斯坦购物网站:Goto
2019/03/11 全球购物
PPP协议组成及简述协议协商的基本过程
2015/05/28 面试题
如何查看在weblogic中已经发布的EJB
2012/06/01 面试题
如何提高MySql的安全性
2014/06/19 面试题
口头翻译求职人自荐信
2013/12/07 职场文书
高中课前三分钟演讲稿
2014/09/13 职场文书
2014年路政工作总结
2014/12/10 职场文书
2015年党总支工作总结
2015/05/25 职场文书
2019年暑期安全广播稿!
2019/07/03 职场文书
爱心捐款倡议书:点燃希望,传递温暖
2019/11/04 职场文书
springboot+VUE实现登录注册
2021/05/27 Vue.js
Mysql 如何实现多张无关联表查询数据并分页
2021/06/05 MySQL