问题:单选题How can an operator list all its history of commands in one step?()A Run c -l 0?from the command line.Run ?c -l 0?from the command line.B Invoke SMIT for the shell environment.C Run the SC + H?combination at the command prompt.Run the ?SC + H?combination at the command prompt.D Use a rep?command with its UID against the /var/log/history_cmds file.Use a ?rep?command with its UID against the /var/log/history_cmds file.
查看答案
问题:单选题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
问题:单选题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 is the correct command to list the filesystems in datavg?()A lsvg -p datavgB lsvg -l datavgC lsvg -L datavgD lsvg -o datavg
问题:单选题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 procedures will allow an operator to access an LPAR console session?()A Open a vterm from the VIO graphical interface to get the partition console.B Open a vterm from the ASMI graphical interface to get the partition console.C Start an ssh session to the HMC. Use the vtmenu command to select the desired LPAR.D Start an ssh session to the VIO. Use the vtmenu command to select the desired LPAR.
问题:单选题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.
问题:单选题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
问题:单选题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
问题:单选题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
问题:单选题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 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 is the correct command to display the current working directory?()A echo $PWDB echo $pwdC echo $CWDD echo $cwd
问题:单选题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
问题:单选题An Operator is in /var/tmp and needs to go to /var/adm. Which of the following is correct?()A cd /admB cd ./admC cd ../admD cd /../adm