问题:单选题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 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 c...
问题:单选题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 command while in a vi session will change the currently selected word?()A ecB wcC ewD cw...
问题:单选题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/tm...
问题:单选题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...
问题:单选题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 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...
问题:单选题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 display what space is used in /tmp filesystem?()A df -Ik /tmpB df -fk /tmpC df -Uk /tmpD df -Fk /tmp...
问题:单选题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...
问题:单选题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 application owner wants to grant write permission to all users for all the files and directories in the application directory. Which of the following is the correct command?()A chmod -R u+rw /applicationB chmod -r u+rw /applicationC chmod -R o+rw /a...
问题:单选题Which command enables a user to exit the vi editor, overwriting the existing file without prompting for confirmation?()A :wB :qwC :x!D :we!...
问题:单选题An operator notices that a job on the system is causing poor performance. The job is a root process and the administrator has concluded it is not important and can be stopped. Shortly after stopping the process, it starts again. Which of the following ...
问题:单选题What command can be used to make all mountable filesystems available for use?()A mount -aB automount allC varyonvg -m -aD run the /etc/filesystems script...
问题:单选题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?combinati...
问题:单选题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 ...