单项选择题

Review the following program.

What is the possible problem?()

A.#!/bin/ksh line is missing
B.Variable name VAR is not properly initialized
C.Loop variable is not incremented inside the loop
D.Loop variable is not decremented inside the loop


您可能感兴趣的试卷

你可能感兴趣的试题

3.单项选择题A system administrator wants to configure a system so that all new users will be put into the database group by default. How would this be accomplished?()

A.remove all other groups from the system
B.run the command mkuser -default "GROUP=database"
C.change the default group in /usr/lib/security/mkuser.default
D.edit /etc/security/group to move all users to the database stanza

4.单项选择题A system administrator would like to modify the system default user characteristics so that each new user will now be assigned (by default) the csh shell rather than the ksh shell. Which of the following actions should be performed?()

A.Run the command chlogin -shell "csh"
B.Run the command mkuser -default "SHELL=csh"
C.Edit /etc/passwd and change all "ksh" entries to "csh"
D.Modify the contents of /usr/lib/security/mkuser.default file

5.单项选择题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?()

A.Add the following line to /etc/environment:  TMOUT=300
B.Add the following lines to /.profile  TMOUT=5  export TMOUT
C.Execute the following command:  chuser -u ALL -a TIMEOUT=5M
D.Execute the following command:  chsec -u ALL -a TIMEOUT=600

6.单项选择题Which action changes the default editor for ALL users on the system from vi to edit of the following?()

A.Issue the command:  export EDITOR=/usr/bin/edit
B.Modify /.profile and change the EDITOR variable to /usr/bin/edit
C.Modify /etc/environment and add  EDITOR=/usr/bin/edit  export EDITOR
D.Modify /etc/security/defaults and change the EDITOR value to /usr/bin/edit

7.单项选择题How does a system administrator add a new user to a system?()

A.mkuser
B.cruser
C.adduser
D.edit /etc/password

9.单项选择题Due to operational commitments, a system has a very short backup window during the week, but is not used from Saturday morning through Sunday at Midnight. Which of the following minimizes backup time, while providing the best data restore coverage?()

A.Full backups every night
B.Differential backups every night
C.Full backup Saturday night, incremental backups the rest of the week
D.Full backup Saturday night, differential backups the rest of the week

10.单项选择题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?()

A.Saturday’s full backup tape only
B.Wednesday’s incremental backup tape only
C.Saturday’s full backup and Wednesday’s incremental backup tapes
D.Saturday’s full backup and Sunday’s through Wednesday’s incremental backup tapes

最新试题

Which action changes the default editor for ALL users on the system from vi to edit of the following?()

题型:单项选择题

How can a directory be excluded from a mksysb backup of the following?()

题型:单项选择题

Given the following script, why does the output come out as an empty line instead of "dog"?()

题型:单项选择题

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?()

题型:单项选择题

The rootvg disk on a system failed and was replaced. The system was restored using the latest mksysb. However, no files in the /home filesystem were restored. What is the likely cause of this problem?()

题型:单项选择题

Which cron entry will run /usr/local/bin/myscript at 0500 every Saturday of the following?()

题型:单项选择题

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?()

题型:单项选择题

Review the following program.What is the possible problem?()

题型:单项选择题

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?()

题型:单项选择题

How would a system administrator review root’s current cron jobs of the following?()

题型:单项选择题