问题:单选题An operator needs to run a script which will write standard output and standard error to different files. Which of the following commands will successfully perform this task?()A myscript.ksh 1>/tmp/log/script.log 2>/tmp/log/script.errB myscript.ksh $1>/tmp/log/script.log $2>/tmp/log/script.errC myscript.ksh 1>/tmp/log/script.log 2>1 /tmp/log/script/errD myscript.ksh 2>1 /tmp/log/script.log 2> /tmp/log/script.err
查看答案
问题:单选题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 is editing a file using a keyboard without arrow keys. What key can be used to move the cursor one character to the right?()A nB jC kD l
问题:单选题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 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
问题:单选题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
问题:单选题The man page for command shows the following syntax: The man page for command shows the following syntax: command [ -a | -b ] Which of the following statements is true regarding this entry?()A Either the -a or flag -b may be used, but not both.B If the flag -a is used then the flag -b also must be used.C One of the -a or -b flags must be used, but not both at the same time.D Both the flags may be used together, but neither are mandatory.
问题:单选题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
问题:单选题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 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 commands can an operator use to view disk performance details?()A topas -DB topas -RC topas -CD topas -d
问题:单选题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 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
问题:单选题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 would an operator use to move a file from the /old_dir directory to the /new_dir directory without changing the file name?()A mv /old_dir/file /new_dirB mv -p /old_dir/file /new_dirC mv -k /old_dir/file /new_dirD mv /old_dir/file /new_dir/new_file
问题:单选题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
问题:单选题An operator is asked to verify the exact location of the default JRE binary. The following commands were run: $ which java /usr/bin/java $ ls -l /usr/bin/java lrwxrwxrwx 1 root other 23 Jan 27 2006 /usr/bin/java -> ../jre1.5.0_06/bin/java Based on the command outputs above, what is the path to the java executable file?()A /usr/bin/javaB /usr/jre1.5.0_06/bin/javaC /usr/bin/jre1.5.0_06/bin/javaD /usr/bin/java/jre1.5.0_06/bin/java
问题:单选题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