A./usr/local/bin/myscript > /dev/null
B./usr/local/bin/myscript < /dev/null
C./usr/local/bin/myscript 2> /dev/null
D./usr/local/bin/myscript 1> /dev/null
您可能感兴趣的试卷
你可能感兴趣的试题
A../myscript >> /tmp/myoutput
B../myscript 2>&1 /tmp/myoutput
C../myscript > /tmp/myoutput 2>&1
D../myscript > /tmp/myoutput &1>2
A.Execute the command ’piobe -q PRINTER_B’
B.Edit the user’s stanza in the /etc/qconfig file
C.Execute the command ’chuser -a QUEUE=PRINTER_B user’
D.Add the line ’export PRINTER=PRINTER_B’ to the user’s .profile
A 1500 page print job was sent to the "pcl" queue. The job was running for several minutes before it was determined that the job was not needed. What can be done to delete the job?()
A.kill 201
B.cancel 201
C.disable pcl
D.rm /var/spool/lpd/STDIN.27648
Given the following scripts, what output would be generated?()
A.The sky is red.
B.The sky is blue.
C.The sky is green.
D.The sky is yellow.
Given the following scripts, both found in /usr/local/bin, what would the output be when executing /usr/local/bin/script1?()
A.dog cat
B.dog fish
C.mouse cat
D.mouse fish
A.chmod +s /tmp
B.chmod 775 /tmp
C.chmod 1777 /tmp
D.chmod 4755 /tmp
While installing an application, the administrator is instructed to perform two final tasks prior to starting the application:
1.Set the ownership of a file named ’control_file’ to be owned by the user ’database’ and the group ’appsrvr’.
2.Change the permissions of ’control_file’ to 0766.
After these two tasks have been completed, what will the file permissions look like when ’ls -l control_file’ is executed?()
A.-rwxrw-rw- 1 database appsrvr 4913 Mar 17 08:24 control_file
B.-rw-r--r-- 1 appsrvr database 4913 Mar 17 08:24 control_file
C.-rw-r--r-- 1 database appsrvr 4913 Mar 17 08:24 control_file
D.-rwxrw-rw- 1 appsrvr database 4913 Mar 17 08:24 control_file
A.chmod -R 775 /stuff
B.chmod -h 002 /stuff
C.chmod -R 577 /stuff
D.chmod ug+rwx,o+rx /stuff
A user reports that they cannot cd to /tmp/application. A system administrator entered the following command:
(1)ls -ld /tmp/application
(2)drw-r--r-- 4 root system 512 Jan 15 14:09 application
What is the most likely cause of the problem?()
A.The /tmp/application should be globally writable.
B.The /tmp/application directory should be executable.
C.The /tmp/application directory should be owned by the user.
D.The /tmp/application directory should have the sticky bit set.
Given the following script, why does the output come out as an empty line instead of "dog"?()
A.The $VAR variable was not exported
B.The $VAR should have been set as VAR
C.dog needs double quotes around it when setting $VAR
D.The { } should not be around VAR in the echo command
最新试题
While installing an application, the administrator is instructed to perform two final tasks prior to starting the application: 1.Set the ownership of a file named ’control_file’ to be owned by the user ’database’ and the group ’appsrvr’. 2.Change the permissions of ’control_file’ to 0766. After these two tasks have been completed, what will the file permissions look like when ’ls -l control_file’ is executed?()
A system administrator is attempting to restore some files from a backup tape. The restore failed. The system administrator suspects the block size of the tape drive is incorrect. Which of the following commands can be used to determine the block size of the backup tape?()
A company uses raw logical volumes. Which command can be used to back up the data in the raw logical volumes to a tape?()
A system administrator performs a full backup every Saturday evening and incremental backups the rest of the week. The system failed on Thursday and needs to be restored. Which backup tapes will be required to restore the system to its most recent recoverable state?()
Given the following scripts, what output would be generated?()
A system administrator has an application that has the data in volume group appvg. Which of the following commands will back up the contents of appvg to the tape in /dev/rmt0 and check for any read errors?()
Which command restarts the TCP/IP subsystem?()
Which command will run myscript and redirect stdout and sterr to /tmp/myoutput?()
For security reasons, an administrator is asked to modify the system to prevent someone from leaving a terminal logged in. To enable a five minute timeout for all users, what would need to be done to accomplish this task?()
How would a system administrator review root’s current cron jobs of the following?()