问题:单选题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 /applicationD chmod -r o+rw /application
查看答案
问题:单选题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
问题:单选题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 needs to transfer several files in the same directory using ftp without being prompted. Which of the following ftp subcommands must be used?()A int put *B int mput *C prompt put *D prompt mput *
问题:单选题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.
问题:单选题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 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
问题:单选题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 commands will list repeating scheduled tasks?()A at -lB jobs -lC sched -lD crontab -l
问题:单选题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
问题:单选题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
问题:单选题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
问题:单选题After performing a modification on the /etc/ssh/sshd_config file the operator needs to reinitialize the secure shell daemon to enable the new settings. Which of the following is the correct way to achieve this?()A Use refresh -s sshdB Use init.sshd /etc/rc.sshC Use /usr/sbin/sshd -restartD Use stopsrc -s sshd and then startsrc -s sshd
问题:单选题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
问题:单选题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
问题:单选题What is the correct command to display the current working directory?()A echo $PWDB echo $pwdC echo $CWDD echo $cwd