Linux管理员面试题 Linux admin interview questions


Posted in 面试题 onNovember 01, 2014
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...

面试题 相关文章推荐
写出一个方法实现冒泡排序
Jul 08 面试题
将一个文本文件的内容按倒序打印出来
Jan 05 面试题
杭州龙健科技笔试题.net部分笔试题
Jan 24 面试题
什么是反射?如何实现反射?
Jul 25 面试题
什么叫应用程序域?什么是托管代码?什么是强类型系统?什么是装箱和拆箱?什么是重载?CTS、CLS和CLR分别作何解释?
May 23 面试题
可靠的数据流传输TCP
Mar 15 面试题
在对linux系统分区进行格式化时需要对磁盘簇(或i节点密度)的大小进行选择,请说明选择的原则
Nov 24 面试题
介绍一下write命令
Aug 10 面试题
说一下Linux下有关用户和组管理的命令
Aug 18 面试题
某公司部分笔试题
Nov 05 面试题
深圳茁壮笔试题
May 28 面试题
UNIX文件名称有什么规定
Mar 25 面试题
shell程序中如何注释
Feb 17 #面试题
Linux Interview Questions For software testers
Jun 02 #面试题
Linux的文件类型
Mar 07 #面试题
什么是Linux虚拟文件系统VFS
Jan 31 #面试题
Linux常见面试题
Mar 18 #面试题
ShellScript面试题一则-ShellScript编程
Jun 24 #面试题
Linux文件系统类型
Feb 15 #面试题
You might like
php防攻击代码升级版
2010/12/29 PHP
Windows下利用Gvim写PHP产生中文乱码问题解决方法
2011/04/20 PHP
php mb_substr()函数截取中文字符串应用示例
2014/07/29 PHP
PHPMailer发送邮件
2016/12/28 PHP
jquery中常用的SET和GET
2009/01/13 Javascript
jQuery fadeTo方法调整图片的透明度使用介绍
2013/05/06 Javascript
jquery禁止输入数字以外的字符的示例(纯数字验证码)
2014/04/10 Javascript
详解Node.js如何开发命令行工具
2016/08/14 Javascript
canvas 画布在主流浏览器中的尺寸限制详细介绍
2016/12/15 Javascript
详解vue项目打包后通过百度的BAE发布到网上的流程
2018/03/05 Javascript
微信小程序与公众号实现数据互通的方法
2019/07/25 Javascript
微信小程序iOS下拉白屏晃动问题解决方案
2019/10/12 Javascript
浅谈JavaScript窗体Window.ShowModalDialog使用
2020/07/22 Javascript
简单了解vue 插值表达式Mustache
2020/07/22 Javascript
[06:44]2014DOTA2国际邀请赛-钥匙体育馆开战 开幕式振奋人心
2014/07/19 DOTA
[01:01:42]Secret vs Optic Supermajor 胜者组 BO3 第二场 6.4
2018/06/05 DOTA
Python urlopen()函数 示例分享
2014/06/12 Python
利用Python将时间或时间间隔转为ISO 8601格式方法示例
2017/09/05 Python
Python使用while循环花式打印乘法表
2019/01/28 Python
Python redis操作实例分析【连接、管道、发布和订阅等】
2019/05/16 Python
Django中的静态文件管理过程解析
2019/08/01 Python
python做接口测试的必要性
2019/11/20 Python
python爬虫实现获取下一页代码
2020/03/13 Python
美国奢侈品在线团购网站:Gilt City
2017/11/16 全球购物
英国和爱尔兰的自炊式豪华度假小屋:Rural Retreats
2018/06/08 全球购物
你经历的项目中的SCM配置项主要有哪些?什么是配置项?
2013/11/04 面试题
工程项目经理岗位职责
2013/12/15 职场文书
大型晚会策划方案
2014/02/06 职场文书
大学校务公开实施方案
2014/03/31 职场文书
公司授权委托书
2014/10/17 职场文书
幼儿园教师暑期培训心得体会
2016/01/09 职场文书
2016年“6.26”禁毒宣传月系列活动总结
2016/04/05 职场文书
合作意向书怎么写
2019/06/24 职场文书
关于党风廉政建设宣传教育月的活动总结!
2019/08/08 职场文书
MySQL 如何限制一张表的记录数
2021/09/14 MySQL
Python使用DFA算法过滤内容敏感词
2022/04/22 Python