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

面试题 相关文章推荐
Linux中如何设置Java环境变量(Ubuntu)
Jul 24 面试题
我的applet原先好好的, 一放到web server就会有问题,为什么?
May 10 面试题
Java中有几种类型的流?JDK为每种类型的流提供了一些抽象类以供继承,请说出他们分别是哪些类
Feb 06 面试题
JSF面试题:Jsf中导航的标签是什么
Apr 20 面试题
为什么要有struct关键字
May 08 面试题
New delete 与malloc free 的联系与区别
Feb 04 面试题
请写出char *p与"零值"比较的if语句
Sep 24 面试题
SQL数据库笔试题
Mar 08 面试题
叙述DBMS对数据控制功能有哪些
Jun 12 面试题
TCP/IP中的TCP和IP分别承担什么责任
Apr 21 面试题
什么是属性访问器
Oct 26 面试题
维德科技C#面试题笔试题
Dec 09 面试题
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 cache类代码(php数据缓存类)
2010/04/15 PHP
PHP以指定字段为索引返回数据库所取的数据数组
2013/06/30 PHP
php魔术函数__call()用法实例分析
2015/02/13 PHP
PHP实现普通hash分布式算法简单示例
2018/08/06 PHP
PHP实现的服务器一致性hash分布算法示例
2018/08/09 PHP
JS的数组的扩展实例代码
2008/07/09 Javascript
JS+CSS 制作的超级简单的下拉菜单附图
2013/11/22 Javascript
探讨JavaScript中的Rest参数和参数默认值
2015/07/29 Javascript
AngularJS入门教程之 XMLHttpRequest实例讲解
2016/07/27 Javascript
JS数组去掉重复数据只保留一条的实现代码
2016/08/11 Javascript
了解VUE的render函数的使用
2017/06/08 Javascript
不得不知的ES6小技巧
2018/07/28 Javascript
JS 数组随机洗牌的实例代码
2018/09/12 Javascript
Node.js实现用户评论社区功能(体验前后端开发的乐趣)
2019/05/09 Javascript
vue elementui el-form rules动态验证的实例代码详解
2019/05/23 Javascript
JS中的算法与数据结构之常见排序(Sort)算法详解
2019/08/16 Javascript
vue中 数字相加为字串转化为数值的例子
2019/11/07 Javascript
[01:13:59]LGD vs Mineski Supermajor 胜者组 BO3 第三场 6.5
2018/06/06 DOTA
Scrapy框架CrawlSpiders的介绍以及使用详解
2017/11/29 Python
对Python 两大环境管理神器 pyenv 和 virtualenv详解
2018/12/31 Python
简单了解python字符串前面加r,u的含义
2019/12/26 Python
Python实现查找数据库最接近的数据
2020/06/08 Python
浅析Python模块之间的相互引用问题
2021/02/26 Python
使用layui框架实现点击左侧导航切换右侧内容且右侧选项卡跟随变化的效果
2020/11/10 HTML / CSS
Booking.com美国:全球酒店预订网站
2017/04/18 全球购物
施华洛世奇中国官网:SWAROVSKI中国
2020/06/16 全球购物
请写出一段Python代码实现删除一个list里面的重复元素
2015/12/29 面试题
出纳担保书范文
2014/04/02 职场文书
危爆物品安全大检查大整治工作方案
2014/05/03 职场文书
关于爱国的演讲稿
2014/05/07 职场文书
2015年小学生新年寄语
2014/12/08 职场文书
银行优秀员工推荐信
2015/03/24 职场文书
2015年小学总务工作总结
2015/07/21 职场文书
2019年个人工作总结范文
2019/03/25 职场文书
个人工作总结怎么写?
2019/04/09 职场文书
Redis集群节点通信过程/原理流程分析
2022/03/18 Redis