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工程师面试经历
Aug 19 面试题
一套Java笔试题
Aug 20 面试题
2019史上最全Database工程师题库
Dec 06 面试题
.NET程序员的数据库面试题
Oct 10 面试题
新大陆软件面试题
Nov 24 面试题
在对linux系统分区进行格式化时需要对磁盘簇(或i节点密度)的大小进行选择,请说明选择的原则
Nov 24 面试题
Linux面试题LINUX系统类
Nov 25 面试题
Linux如何命名文件--使用文件名时应注意
May 29 面试题
如何用JQuery进行表单验证
May 29 面试题
介绍一下Mysql的存储引擎
Feb 12 面试题
继承时候类的执行顺序问题,一般都是选择题,问你将会打印出什么?
Nov 18 面试题
int和Integer有什么区别
May 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
虫族 ZERG 概述
2020/03/14 星际争霸
PHP学习之数组值的操作
2011/04/17 PHP
php多层数组与对象的转换实例代码
2013/08/05 PHP
php强制文件下载而非在浏览器打开的自定义函数分享
2014/05/08 PHP
php技术实现加载字体并保存成图片
2015/07/27 PHP
Yii2中datetime类的使用
2016/12/17 PHP
textarea中的手动换行处理的jquery代码
2011/02/26 Javascript
jQuery实现数字加减效果汇总
2014/12/16 Javascript
js表头排序实现方法
2015/01/16 Javascript
关于input全选反选恶心的异常情况
2016/07/24 Javascript
原生态js,鼠标按下后,经过了那些单元格的简单实例
2016/08/11 Javascript
jQuery为DOM动态追加事件的方法
2017/02/16 Javascript
十个免费的web前端开发工具详细整理
2017/09/18 Javascript
mpvue中配置vuex并持久化到本地Storage图文教程解析
2018/03/15 Javascript
JS实现DOM删除节点操作示例
2018/04/04 Javascript
深入理解与使用keep-alive(配合router-view缓存整个路由页面)
2018/09/25 Javascript
使用Vue CLI创建typescript项目的方法
2019/08/09 Javascript
详解vite+ts快速搭建vue3项目以及介绍相关特性
2021/02/25 Vue.js
[02:24]DOTA2亚洲邀请赛 NAVI战队出场宣传片
2015/02/07 DOTA
Python实现检测服务器是否可以ping通的2种方法
2015/01/01 Python
Python脚本实现网卡流量监控
2015/02/14 Python
python批量提取word内信息
2015/08/09 Python
Python实现扩展内置类型的方法分析
2017/10/16 Python
python将.ppm格式图片转换成.jpg格式文件的方法
2018/10/27 Python
Python缓存技术实现过程详解
2019/09/25 Python
浅谈pytorch、cuda、python的版本对齐问题
2020/01/15 Python
Python基于network模块制作电影人物关系图
2020/06/19 Python
ShellScript面试题一则-ShellScript编程
2014/06/24 面试题
机电一体化毕业生求职信
2013/11/02 职场文书
航海技术专业毕业生求职信
2014/04/06 职场文书
2014年学雷锋活动总结
2014/06/26 职场文书
查摆问题自我剖析材料
2014/08/18 职场文书
中学生打架检讨书之500字
2019/08/06 职场文书
Java使用Unsafe类的示例详解
2021/09/25 Java/Android
Win11黑色桌面背景怎么办?Win11黑色壁纸解决方法汇总
2022/04/05 数码科技
windows系统安装配置nginx环境
2022/06/28 Servers