Unix面试题(英文 附答案)3-5

81、What syslog.conf facility represents login processes?  : auth    
82、By default, when a file system is mounted, it is mounted______. :read-write
83、What command can be used to find the current run level?: runlevel
84、What run level represents multi-user?:3
85、What syslog.conf facility represents user authentication processes?: auth
86、What switch used with the grep command allows you to specify a file containing words to search for?: -f
87、What option is used with the useradd command to specify the user's user id?:-u
88、You want a user's account to expire in ten days. What option used with the useradd command will allow you to do this?:-e
89、What run level represents a system reboot?:6
90、You want to have the process /etc/myprocess run when the system enters run level 3. Which of the following inittab entries would accomplish this?:5:3:once:/etc/myprocess
91、Which of the following can be used to switch your system to run level 3?:init 3
92、Which of the following can be used to switch your system to run level 1?:init 1
93、Which of the following commands can be used to schedule jobs or tasks.:cron
94、What option is used with the useradd command to specify the user's home directory?:-d
95、What switch is used with the usermod command to change a user's secondary groups? -G
96、Which of the following commands can be used to show used swap memory D.   free
97、Which daemon will send kernel alert messages.B.syslogd 
98、What command is used to change the effective group ID of a process?B.  setgid     
99、Which of the following commands is used to show exported variables.C. export  
100、What command is used to remove variables?B.unset 
101、What option can be used with the shutdown command to reboot the system?C.shutdown –r    
102、Your current directory contains the following files:
abcdefg
abc123
abc
123
123abc
abcd
If you were to type: ls abc
which of the following would be returned?(Check all that apply) C: abc  
103、You want to give the variable ‘IQ' a value of 4. How would you do this?  D.  set $IQ=4
104、You what to use the grep command to search for the name John. You want to find John, john, JOHN, all other occurrences regardless of capitalization. What option will allow you to do this? D.-i
105、Which of the following syslog identifiers represents the highest priority
  B. warning  
106、You want to view disk quotas for user1. How would you do this? 
  D.  repquota -u user1

你可能感兴趣的:(C++,c,unix,面试,C#)