Unix面试题(英文 附答案)1-4

UNIX

41. 我们可以订阅新闻组、加入新闻列表获得最新的Linux资料。正确
42. 有关管道,以下论述正确的是:B: 是一种设备。    C: 是进程间的一根”管子”,他把数据按先进先出的原则传送。    D: 对管道的操作与文件操作完全相同。
43. cu 是远程登陆用的命令
44. How can you find out which ports are being used? :netstat -a
45. You want to add a directory to all users paths. What file should you edit to do this?
A: /etc/sysconfig/profile
B: /etc/sysconfig/profile
C: /etc/bashrc
D: /etc/profile
E: /etc/env
—————— Explain —————-
p21:Explanation: The /etc/profile script is used for system-wide enviornment variables and startup files. You could also create a new file in /etc/profile.d/ that ends in .sh and set the enviornment variable in there. Keep in mind that not all users will necessarily use bash.
46. init进程是所有用户进程的父进程。它的进程号是:-1
47. 想知道系统哪个进程占用的cpu时间最多用下列哪个命令:top
48. Where are source RPMs installed?
A. /usr/src/linux/rpms/
B. /var/src/linux/rpm/
C. /var/rpm/src/
D. /var/linux/rpm/src/
E. /usr/src/redhat/
—————— Explain —————-
p15:Explanation: Source RPMs are installed in /usr/src/redhat. There are 5 subdirectories under there. SOURCES contains the original source code. SPECS contains the specification files that control the RPM build process. BUILD is where source code is uncompressed and built. SRPMS contains the source RPM that is created when you build one.
49. How can you turn off interface eth1? :ifdown eth1
50. exec系统调用能:用新程序的内容替代当前进程的内容
51. How can you see the kernel routing table? :netstat -rn
52. 脚本/etc/rc.d/rc.local,通常运行在启动运行等级 __3  5_______之后。
53. What does the following cron entry do?
10 5 * * * /bin/foo    :D
A. runs /bin/foo every 10 minutes 5 days a week
B. runs /bin/foo at 10:05 AM every day
C. runs /bin/foo on the 10th of May every year
D. runs /bin/foo at 5:10 AM every day
E. none of the above
54. What is the correct syntax to mount an MS DOS formatted floppy disk (do not assume that there is an entry in /etc/fstab)? :mount -t vfat /dev/fd0 /mnt/floppy
55. What directory contains the kernel?    :/boot

同类其他面试题 点击新一篇或旧一篇可浏览全部同类面试题

新一篇:
旧一篇:

你有答案? 你对以上面试题有意见? 你想发表你的见解? 写下来吧!你的分享将会让很多人受益!

相关面试题

·unix时间戳与datetime类型时间之前的转换
·POSIX方面的知识
·Unix英文面试题
·Unix笔试题 Unix工程师
·介绍一下Unix的启动过程

版权声明:本站大部分内容为原创! 另有少部分内容整理于网络,如需转载本站内容或关切版权事宜请联系站长。未经允许,严禁复制转载本站内容,否则将追究法律责任。 本站欢迎与同类网站建立友情链接,请联系QQ:176687814