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

面试题 相关文章推荐
Java面试题及答案
Sep 08 面试题
什么是java序列化,如何实现java序列化
Nov 14 面试题
SQL数据库笔试题
Mar 08 面试题
用友笔试题目
Oct 25 面试题
CLR与IL分别是什么含义
Aug 23 面试题
简述Linux文件系统通过i节点把文件的逻辑结构和物理结构转换的工作过程
Apr 17 面试题
介绍一下Python中webbrowser的用法
May 07 面试题
中间件的定义
Aug 09 面试题
Java程序员面试题
Sep 27 面试题
建龙钢铁面试总结
Apr 15 面试题
创立科技Java面试题
Nov 29 面试题
精选干货:Java精选笔试题附答案
Jan 18 面试题
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性能测试工具xhprof的详解
2013/06/03 PHP
php截取html字符串及自动补全html标签的方法
2015/01/15 PHP
php实现跨域提交form表单的方法【2种方法】
2016/10/17 PHP
PHP重置数组为连续数字索引的几种方式总结
2018/03/12 PHP
基于php+MySql实现学生信息管理系统实例
2020/08/04 PHP
详解phpstorm2020最新破解方法
2020/09/17 PHP
JavaScript 编程引入命名空间的方法与代码
2007/08/13 Javascript
Dreamweaver jQuery智能提示插件,支持版本提示,支持1.6api
2011/07/31 Javascript
js检测用户输入密码强度
2015/10/22 Javascript
AngularJS动态生成div的ID源码解析
2016/08/29 Javascript
原生Javascript插件开发实践
2017/01/18 Javascript
利用Decorator如何控制Koa路由详解
2018/06/26 Javascript
使用jquery Ajax实现上传附件功能
2018/10/23 jQuery
BootStrap table实现表格行拖拽效果
2018/12/01 Javascript
Node.js+Express+Mysql 实现增删改查
2019/04/03 Javascript
小程序点击图片实现png转jpg
2019/10/22 Javascript
Vue环境搭建+VSCode+Win10的详细教程
2020/08/19 Javascript
vue el-upload上传文件的示例代码
2020/12/21 Vue.js
python 显示数组全部元素的方法
2018/04/19 Python
Python 字符串换行的多种方式
2018/09/06 Python
python 在指定范围内随机生成不重复的n个数实例
2019/01/28 Python
python实现单目标、多目标、多尺度、自定义特征的KCF跟踪算法(实例代码)
2020/01/08 Python
Python 读取WAV音频文件 画频谱的实例
2020/03/14 Python
利用HTML5+css3+jquery+weui实现仿微信聊天界面功能
2018/01/08 HTML / CSS
英国赛车、汽车改装和摩托车零件购物网站:Demon Tweeks
2018/10/29 全球购物
Elemental Herbology官网:英国美容品牌
2019/04/27 全球购物
怀旧香味蜡烛:Homesick
2019/11/02 全球购物
实习鉴定评语
2014/01/19 职场文书
科学发展观活动总结
2014/08/28 职场文书
家庭贫困证明
2014/09/23 职场文书
学校党的群众路线教育实践活动领导班子对照检查材料
2014/09/25 职场文书
2014年反腐倡廉工作总结
2014/12/05 职场文书
初二学生评语大全
2014/12/26 职场文书
酒店客房服务员岗位职责
2015/04/09 职场文书
python3 删除所有自定义变量的操作
2021/04/08 Python
使用Vue3+Vant组件实现App搜索历史记录功能(示例代码)
2021/06/09 Vue.js