问题:单选题Which command enables a user to exit the vi editor, overwriting the existing file without prompting for confirmation?()A :wB :qwC :x!D :we!...
查看答案
问题:单选题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...
问题:单选题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 ...
问题:单选题Which of the following will permit an operator to retrieve console log output from the command line?()A lscons -lB cat /var/conslogC alog -t console -oD lslog /var/adm/conslog...
问题:单选题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 has been asked if a system was rebooted. Which of the following commands should be used to determine if a reboot has occurred?()A The name?command.The ?name?command.B The ptime?command.The ?ptime?command.C The hutdown ast?command.The ?hutdo...
问题:单选题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 th...
问题:单选题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 is editing a file using vi. Which of the following subcommand sequences will copy the current line plus the next 2 lines to the end of the file?()A yy E 3pB 3yy G pC 3yy :e 5ppD yy :g 3p...
问题:单选题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...
问题:单选题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 will list available paging space on a system?()A lspsB lsps -aC lsps -pgD lsps ALL...
问题:单选题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...
问题:单选题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...
问题:单选题Which of the following will rename dir1 as dir2?()A mv dir1 dir2B ren dir1 dir2C cp -R dir1 dir2D mv -R dir1 dir2...
问题:单选题The operator needs to change the /test filesystem in the testvg volume group so that it mounts automatically following a system reboot. Which of the following commands is correct?()A chvg -a y testvgB chfs -A yes /testC mount /test -auto=yesD chlv -a a...
问题:单选题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...
问题:单选题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...
问题:单选题The printer associated with the hp5_queue is down for maintenance. Which of the following commands will move the remaining print jobs from hp5_queue to the hp7_queue?()A export $LPDEST=hp7_queueB qmov -m hp7_queue -P hp5_queueC lpmov -s hp5_queue -d hp...