Unix面试题(英文 附答案)2-2
UNIX
21, There is a file with the following permissions: -rw-r–r– What rights does the owner’s group have? C read
22, Your system has a default mode of 666. You specify a umask value of 222. What will be the default permissions? B 444
23, Only files on the same file system can be hard-linked.A True
24, External file systems are usually mounted from the __ directory? C /mnt
25, Temporary files are generally stored in the _____ folder. B /temp
26, What lilo option will list the name and location of available kernels?
A -q
27, Which lilo.conf parameter will specify the amount of time the system will wait before booting to the default image? B delay
28, What command can be used to print out system boot messages?A dmesg
29, You want to add information to a previously created tar file. How would you do this? C use the tar command with the -r switch
30, What is the name of the configuration file used by the syslog daemon?
C syslog.conf
31, What syslog.conf facility represents httpd processes? D daemon
32, What syslog.conf facility represents the line printer? B lpr
33, What syslog.conf facility is used to create timestamps in log files?
C mark
34, Which daemon will send kernel alert messages.B syslogd
35, You have just added the following line to your syslog.conf file: lpr.info /dev/console. But, line printer messages are not being sent to the console. What is most likely the problem?
A after modifying the syslog.conf file, the syslog daemon needs to be
36, What run level represents multi-user?D 3
37, What file does init processes use as its control file? D /etc/inittab
38, Which of the following can be used to switch your system to run level 1?
B init 1
39, What option can be used with the shutdown command to cancel a pending shutdown?B shutdown -c
40, What option is used with the useradd command to specify the user’s login shell? C -s
