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

面试题 相关文章推荐
比较基础的php面试题及答案-填空题
Apr 26 面试题
PHP笔试题
Feb 22 面试题
面向对象编程OOP的优点
Jan 22 面试题
普天C++笔试题
Mar 20 面试题
说一下mysql, oracle等常见数据库的分页实现方案
Sep 29 面试题
什么是Rollback Segment
Apr 22 面试题
.NET面试题:什么是反射
Sep 30 面试题
什么叫应用程序域?什么是受管制的代码?什么是强类型系统?什么是装箱和拆箱?
Aug 13 面试题
什么是网络协议
Apr 07 面试题
华为python面试题
May 03 面试题
介绍一下如何优化MySql
Dec 20 面试题
关键字throw与throws的用法差异
Nov 22 面试题
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
PHPMYADMIN导入数据最大为2M的解决方法
2012/04/23 PHP
php并发对MYSQL造成压力的解决方法
2013/02/21 PHP
php绘图之生成饼状图的方法
2015/01/24 PHP
php文件上传的两种实现方法
2016/04/04 PHP
PHP 信号管理知识整理汇总
2017/02/19 PHP
PHP unlink与rmdir删除目录及目录下所有文件实例代码
2018/02/07 PHP
PHP递归的三种常用方式
2019/02/28 PHP
(currentStyle)javascript为何有时用style得不到已设定的CSS的属性
2007/08/15 Javascript
nodejs获取本机内网和外网ip地址的实现代码
2014/06/01 NodeJs
JS解析XML文件和XML字符串详解
2015/04/17 Javascript
jQuery插件Flexslider实现图片轮播、图文结合滑动切换效果
2020/04/16 Javascript
js判断手机号是否正确并返回的实现代码
2017/01/17 Javascript
nodejs个人博客开发第四步 数据模型
2017/04/12 NodeJs
jQuery插件ImgAreaSelect实现头像上传预览和裁剪功能实例讲解一
2017/05/26 jQuery
把vue-router和express项目部署到服务器的方法
2018/02/21 Javascript
浅谈vue.js导入css库(elementUi)的方法
2018/03/09 Javascript
AngularJS 事件发布机制
2018/08/28 Javascript
使用nvm和nrm优化node.js工作流的方法
2019/01/17 Javascript
vue实现登录、注册、退出、跳转等功能
2020/12/23 Vue.js
[01:24:16]2018DOTA2亚洲邀请赛 4.6 全明星赛
2018/04/10 DOTA
python切换hosts文件代码示例
2013/12/31 Python
Python的Django框架中的数据库配置指南
2015/07/17 Python
用python处理MS Word的实例讲解
2018/05/08 Python
对python 合并 累加两个dict的实例详解
2019/01/21 Python
python实现定时压缩指定文件夹发送邮件
2020/12/22 Python
Python 随机生成测试数据的模块:faker基本使用方法详解
2020/04/09 Python
Python3实现飞机大战游戏
2020/04/24 Python
欧洲最大的球衣网上商店:Kitbag
2017/11/11 全球购物
信息系统专业个人求职信范文
2013/12/07 职场文书
先进党支部事迹材料
2014/01/13 职场文书
毕业寄语大全
2014/04/09 职场文书
协议书模板
2014/04/23 职场文书
学生会干部自我鉴定2014
2014/09/18 职场文书
2014年施工员工作总结
2014/11/18 职场文书
劳动仲裁调解书
2015/05/20 职场文书
2016年综治宣传月活动宣传标语口号
2016/03/16 职场文书