|
想起来上次面试的题目来,晒一晒,有技术背景的可入
1. how to start a service in a linux
这个回答的挺好
service [servicename] start
/etc/init.d/[servicename] start
2. how to view the network protocols opening in a linux
(回答了命令,参数当时不知道)
netstat -l
3. how to view the routing tables in a linux
(回答了命令,参数当时不知道)
route
4. how to view the opening ports in a remote linux
当时回答:using ‘telnet ip port’ to review the response for the remote host
面试官补充:a better way : using nmap to scan the remote host (这个完全不知道)
5. tail me about the LVM
这个回答的挺好
a powerful tool in LINUX kernel to managing large hard disk farms
PV - physical Volume
VG - Volume Group, consisting of PVs
LV - logic volumes, could be used by the LINUX
Advantage: to adjust the logic volume size dynamically without disturbing the system
6. tell me about the different between dd, df, du
dd: the low-level copying and conversion of raw data (这个不知道,只是老实承认了,当时回答:我记得如果创建swap文件需要用dd)
剩下两个回答还可以
df: a command to view the disk file system like
du: a command to view the disk utilization of the system
7. could you give me some example of /dev/ virtual devices
/dev/null (只举出了这么一个)
/dev/zero
/dev/tty
8. could you give the situation of redirection
似乎没太讲明白,只是举了2个例子
input redirection : get the input from a specified file rather than the keyboard
command [arguments] < filename
output redirection :
9. could you explain the pipe
这个回答的挺好
to combine the two command together : the first one’s out is the next command input
eg: ps –ef | grep ora_ to check the oracle processes of a linux
10. could you give me the difference between fdisk and diskapart
fdisk回答很好,如下:
fdisk: a powerful tool to manage the disk and partitions in a linux
to create the primary partition, extension partition, logic partition, to set the start/end cylinders of a partition and to set the file system of a partition like ext3 or ntfs
diskpart: ? does he mean the windows ‘diskpart’ command tool? I focused on linux too much at that time.
11. what’s the most used run-level of LINUX?
回答超好,附送level 0-6的解释
leve 3 and level 5
level 5 starts with xwindow/X11
12. could you give a scripts to view or search in the stand error of a command rather than view the output of the command
这个不太知道,从来不写script,直接露馅
the command should be like that :
command [arguments] 1>/dev/null | grep “the text for search” (using 1>/dev/null to redirect the output to /dev/null to not display the stdout on the screen)
0 for stdin
1 for stdout
2 for stderr
13. what’s the GPO
这个回答很好,本行
GPO is the group policy related with the windows AD, we use GPO to apply the specified privileges or permissions on OUs or Domains
14. what’s the 7 level of OSI
这个回答很好,本行
Application
Presentation
Session
Transport
Network
Data Link
Physical
15. what’s the major difference of RIPV1/RIPV2
这个回答很好,本行
RIPV1 support Classic A,B,C IP address
RIPV2 support VLSM: network mask, subnet, supernet
16. what’s the command of dcpromo
这个回答很好,本行
to promote a member server to a DC or to degrade a DC to a member server.
回答所有问题大约1个小时
---------------
虽然fail了,大家帮忙定位一下这个工作大概是什么样的性质?这个offer大概多少银子。
公司30-40人,基本华人。
也算长点经验。
[ 本帖最后由 aaaaatoz 于 30-7-2010 18:18 编辑 ] |
|