问题:单选题Which of the following commands will display what space is used in /tmp filesystem?()A df -Ik /tmpB df -fk /tmpC df -Uk /tmpD df -Fk /tmp
查看答案
问题:单选题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.
问题:单选题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 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
问题:单选题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
问题:单选题Which of the following AIX storage concepts is correct?()A A filesystem can span multiple physical volumes.B A physical volume can belong to more than 1 volume group.C A logical volume can have up to 2 copies in each of 2 volume groups.D The size of a filesystem is always the same size as its logical volume.
问题:单选题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'.
问题:单选题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 ?hutdown ?ast?command.D The ?etc/rc.shutdown?command.
问题:单选题Which of the following will rename dir1 as dir2?()A mv dir1 dir2B ren dir1 dir2C cp -R dir1 dir2D mv -R dir1 dir2
问题:单选题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
问题:单选题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 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 show how many physical partitions are available on active hdisk1?()A lspv hdisk1B lsvg -p hdisk1C lsattr -p hdisk1D lsdev -E -l hdisk1
问题:单选题Which command while in a vi session will change the currently selected word?()A ecB wcC ewD cw
问题:单选题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
问题:单选题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
问题:单选题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