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的事件委托机制和垃圾回收机制
Sep 07 面试题
什么是类的返射机制
Feb 06 面试题
链表面试题-一个链表的结点结构
May 04 面试题
介绍一下SQL注入攻击的种类和防范手段
Feb 18 面试题
VLAN和VPN有什么区别?分别实现在OSI的第几层?
Dec 23 面试题
TCP协议通讯的过程和步骤是什么
Oct 18 面试题
以太网Ethernet IEEE802.3
Aug 05 面试题
C#如何允许一个类被继承但是避免这个类的方法被重载?
Feb 24 面试题
linux面试题参考答案(7)
Jul 24 面试题
如何用Java实现列出某个目录下的所有子目录
Jul 20 面试题
一套中级Java程序员笔试题
Jan 14 面试题
Servlet方面面试题
Sep 28 面试题
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代码的53条建议
2008/03/27 PHP
php实现文件下载代码分享
2014/08/19 PHP
详解Yii2.0使用AR联表查询实例
2017/06/16 PHP
PHP INT类型在内存中占字节详解
2019/07/20 PHP
兼容ie和firefox js关闭代码
2008/12/11 Javascript
JS判断不同分辨率调用不同的CSS样式文件实现思路及测试代码
2013/01/23 Javascript
脚本合并提升javascript性能示例
2014/02/24 Javascript
超级简单实现JavaScript MVC 样式框架
2015/03/24 Javascript
JavaScript获取指定元素位置的方法
2015/04/08 Javascript
MVC Ajax Helper或Jquery异步加载部分视图
2015/11/29 Javascript
JavaScript实现瀑布流布局
2020/06/28 Javascript
js实现自定义路由
2017/02/04 Javascript
详解Node.js项目APM监控之New Relic
2017/05/12 Javascript
浅谈JS如何实现真正的对象常量
2017/06/25 Javascript
Angular4编程之表单响应功能示例
2017/12/13 Javascript
JS实现的简单拖拽购物车功能示例【附源码下载】
2018/01/03 Javascript
React中的refs的使用教程
2018/02/13 Javascript
Vue唯一可以更改vuex实例中state数据状态的属性对象Mutation的讲解
2019/01/18 Javascript
在vue-cli 3中给stylus、sass样式传入共享的全局变量
2019/08/12 Javascript
JavaScript函数Call、Apply原理实例解析
2020/02/17 Javascript
微信jssdk踩坑之签名错误invalid signature
2020/05/19 Javascript
[02:01]2018完美盛典-开场舞《双子星》
2018/12/16 DOTA
Python使用scrapy采集数据时为每个请求随机分配user-agent的方法
2015/04/08 Python
python实现矩阵乘法的方法
2015/06/28 Python
手把手教你pycharm专业版安装破解教程(linux版)
2019/09/26 Python
Python requests模块session代码实例
2020/04/14 Python
Django models文件模型变更错误解决
2020/05/11 Python
台湾7-ELEVEN线上购物中心:7-11
2021/01/21 全球购物
C++:memset ,memcpy和strcpy的根本区别
2013/04/27 面试题
总经理职责
2013/12/22 职场文书
十八届三中全会个人学习材料
2014/02/13 职场文书
共产党员承诺书
2014/03/25 职场文书
社区活动总结报告
2014/05/05 职场文书
2015年大学班长个人工作总结
2015/04/24 职场文书
宇宙与人观后感
2015/06/05 职场文书
咖啡厅里的创业计划书
2019/08/21 职场文书