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

面试题 相关文章推荐
你常见到的runtime exception
Sep 05 面试题
c/c++某大公司的两道笔试题
Feb 02 面试题
东方通信股份有限公司VC面试题
Aug 27 面试题
下述程序的作用是计算机数组中的最大元素值及其下标
Nov 26 面试题
视图的作用
Dec 19 面试题
.NET remoting的两种通道是什么
May 31 面试题
诺思信科技(南京)有限公司.NET笔试题答案
Jul 06 面试题
什么是符号链接,什么是硬链接?符号链接与硬链接的区别是什么?
Jan 19 面试题
什么是用户模式(User Mode)与内核模式(Kernel Mode) ?
Jul 21 面试题
Linux管理员面试题 Linux admin interview questions
Nov 01 面试题
软件测试常见笔试题
Feb 04 面试题
Ajax和javascript的区别
Jul 20 面试题
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
有道搜索和IP138的IP的API接口(PHP应用)
2012/11/29 PHP
用Simple Excel导出xls实现方法
2012/12/06 PHP
解析PHP无限级分类方法及代码
2013/06/21 PHP
php发送html格式文本邮件的方法
2015/06/10 PHP
TP5框架model常见操作示例小结【增删改查、聚合、时间戳、软删除等】
2020/04/05 PHP
新浪中用来显示flash的函数
2007/04/02 Javascript
javascript字符串拼接的效率问题
2010/12/25 Javascript
jQuery阻止事件冒泡具体实现
2013/10/11 Javascript
javascript在myeclipse中报错的解决方法
2013/10/29 Javascript
showModalDialog模态对话框的使用详解以及浏览器兼容
2014/01/11 Javascript
js禁止页面刷新与后退的方法
2015/06/08 Javascript
使用Browserify配合jQuery进行编程的超级指南
2015/07/28 Javascript
jQuery中通过ajax调用webservice传递数组参数的问题实例详解
2016/05/20 Javascript
Javascript中字符串相关常用的使用方法总结
2017/03/13 Javascript
JS排序之冒泡排序详解
2017/04/08 Javascript
JavaScript创建对象方式总结【工厂模式、构造函数模式、原型模式等】
2018/12/19 Javascript
微信小程序背景音乐开发详解
2019/12/12 Javascript
vue+canvas实现移动端手写签名
2020/05/21 Javascript
vue3.0实现插件封装
2020/12/14 Vue.js
[15:28]DOTA2 HEROS教学视频教你分分钟做大人-剧毒术士
2014/06/13 DOTA
Python利用Beautiful Soup模块修改内容方法示例
2017/03/27 Python
requests和lxml实现爬虫的方法
2017/06/11 Python
使用Python实现博客上进行自动翻页
2017/08/23 Python
对Python通过pypyodbc访问Access数据库的方法详解
2018/10/27 Python
对django 模型 unique together的示例讲解
2019/08/06 Python
PHP统计代码行数的小代码
2019/09/19 Python
Django通用类视图实现忘记密码重置密码功能示例
2019/12/17 Python
以SQLite和PySqlite为例来学习Python DB API
2020/02/05 Python
基于Python词云分析政府工作报告关键词
2020/06/02 Python
利用Opencv实现图片的油画特效实例
2021/02/28 Python
干部下基层实施方案
2014/03/14 职场文书
仓库管理员岗位职责
2014/03/19 职场文书
2015年度党员个人总结
2015/02/14 职场文书
python绘图subplots函数使用模板的示例代码
2021/04/30 Python
CSS的class与id常用的命名规则
2021/05/18 HTML / CSS
mysql拆分字符串作为查询条件的示例代码
2022/07/07 MySQL