问题:单选题An operator is asked to shutdown the telnet service for security reasons. What are the appropriate commands to achieve this?()A comment out telnetd in /etc/services refresh -s inetdB comment out telnetd in /etc/inetd.conf refresh -s inetdC comment out telnetd in /etc/rc.tcpip refresh -s telnetdD comment out telnetd in /etc/inetd.conf refresh -s telnetd
查看答案
问题:单选题Which of the following will rename dir1 as dir2?()A mv dir1 dir2B ren dir1 dir2C cp -R dir1 dir2D mv -R dir1 dir2
问题:单选题Which of the following commands will show how many physical partitions are available on active hdisk1?()A lspv hdisk1B lsvg -p hdisk1C lsattr -p hdisk1D lsdev -E -l hdisk1
问题:单选题Which of the following is a correct statement about how the user environment is configured at login?()A If present, the settings in the $HOME/.profile file will override the settings in the /etc/profile file.B If both $HOME/.profile and $HOME/.env files are present, the settings in the $HOME/.profile file will take precedence.C The settings in the /etc/environment file are system-wide and will override user customized settings in the $HOME/.profile.D The settings in the /etc/profile file will override settings in the $HOME/.profile file unless the $LOCAL_PROFILE variable is set to 'true'.
问题:单选题Operator needs to remove all leading comments # from shell.script file. Which of the following vi sub-command can achieve this?()A :r/^#//gB :1,$ s/^#//gC :sed s/^#//gD :sub s/^#//g
问题:单选题Which of the following commands will show the users that are logged on a system ?()A idB whoC whoisD lsuser
问题:单选题Which of the following will occur if an operator types the command vi file.out?()A If the file exists it will be opened for editing. If the file does not exist an error message will be displayed.B If the file exists it will be opened for editing. If the file does not exist a new file with the name file.out will be created and opened for editing.C If the file exists an error message will be displayed. If the file does not exist a new file with the name file.out will be created and opened for editing.D If the file exists the operator will be asked whether to open the file or overwrite the file. If the file does not exist a new file with the name file.out will be created and opened for editing.
问题:单选题The operator needs to execute a long-running shell script. How can the script be executed so the operator does not have to wait until it is complete to access the command prompt?()A ./script.kshB nohup ./script.kshC run -b ./script.kshD ./script.ksh > nohup.out
问题:单选题Which of the following commands can an operator use to view disk performance details?()A topas -DB topas -RC topas -CD topas -d
问题:单选题The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this?()A chmod -R o-s /applicationB chmod -R ug-s /applicationC chmod -R -s -o /applicationD chmod -R -s -ug /application
问题:单选题An operator must check the status of print queues on a regular basis. Which of the following commands can be used to check on all the print queues?()A lslp -aB qchk -AC enq -s ALLD lpstat -p ALL
问题:单选题Which of the following commands can be used to show all disks configured on the system?()A lsdev -C diskB lsdev -P diskC lsdev -Cc diskD lsdev -Pc disk
问题:单选题An operator needs to create /dir1/dir2/dir3. The /dir1 does not exist. What command can be used to create dir2 and dir3?()A mkdir /dir1/dir2/dir3B mkdir -R dir1/dir2/dir3C mkdir -p /dir1/dir2/dir3D mkdir -r /dir1/dir2/dir3
问题:单选题What command will allow the operator to add the current working directory to the command search path?()A export PATH=pwdB export PATH=$PWDC export PATH=$PATH:pwdD export PATH=$PATH:$PWD
问题:单选题An operator needs to change from the /usr/bin to the /var/spool directory. Which of the following commands will accomplish this?()A cd /var/spoolB lcd /var/spoolC cd /usr/bin /var/spoolD lcd /usr/bin /var/spool
问题:单选题What is the correct command to display the current working directory?()A echo $PWDB echo $pwdC echo $CWDD echo $cwd
问题:单选题An operator is asked to rewind and eject a tape from a system. Which command will accomplish this without touching the tape drive?()A tctl resetB tctl rewindC tctl returnD tctl rewoffl
问题:单选题Which of the following will cancel only job 123 from printer lp01?()A lpstat -d 123 lp01B enq -d 123 -p lp01C qcan -x 123 -P lp01D lpcan -j 123 -p lp01