单选题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?()Ayy E 3pB3yy G pC3yy :e 5ppDyy :g 3p

单选题
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 3p

B

3yy G p

C

3yy :e 5pp

D

yy :g 3p


参考解析

解析: 暂无解析

相关考题:

Which of the following components is MOST important when building a Gaming PC?() A. File sharingB. TV tunerC. Media streamingD. High-end video card

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 editing a file using a keyboard without arrow keys. What key can be used to move the cursor one character to the right?() A. nB. jC. kD. l

满足方程3yy′=1,y|x=0=0的解是(  )。

You have discovered that one of three control files has been lost. What steps would you follow to recover that control file?()   a. Shut down the database.  b. Restore a control-file copy from backup media.  c. Use the create control file command to create a new control file.  d. Copy the backup control file into place.  e. Create a new copy of the control file from one of the surviving control files.  f. Recover the database using the recover database using backup control file command.  g. Start up the database. A、a, b, f, gB、c, f, gC、a, d, f, gD、a, f, gE、a, e, g

Which of the following components is MOST important when building a Gaming PC?()A、File sharingB、TV tunerC、Media streamingD、High-end video card

An operator is editing a file using a keyboard without arrow keys. What key can be used to move the cursor one character to the right?()A、nB、jC、kD、l

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

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

A customer has downloaded new firmware files for the IBM support Web Site. Which of the following is the correct method for updating the firmware for the QLogic Intelligent Passthru Module using the command line?()A、Transfer the file to the FC module using FTP; use Telnet to the FC module to start the updateB、Use Telnet to the AMM to transfer the file using TFTP; start the updateC、Transfer the file to the FC module using Secure Copy Protocol (SCP);use Telnet to the FC module to start the updateD、Start the update and enter FC module IP address when prompted

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.

10. class MakeFile {  11. public static void main(String[] args) {  12. try {  13. File directory = new File(”d”);  14. File file = new File(directory,”f”);  15. if(!file.exists()) {  16. file.createNewFile();  17. }  18. } catch (IOException e) {  19. e.printStackTrace  20. }  21. }  22. }  The current directory does NOT contain a directory named “d.” Which three are true?()A、 Line 16 is never executed.B、 An exception is thrown at runtime.C、 Line 13 creates a File object named “d”.D、 Line 14 creates a File object named “f‟.E、 Line 13 creates a directory named “d” in the file system.F、 Line 16 creates a directory named “d” and a file “f”  within it in the file system.G、 Line 14 creates a file named "f " inside of the directory named “d” in the file system.

You performed an incomplete recovery on your Oracle Database 10g database using the following command:   SQL RECOVER DATABASE  2 UNTIL TIME ’2004-08-05:12:10:03’ 3 USING BACKUP CONTROLFILE;  In which situation would the above recovery be required?()A、 A user table was lost at the specified time.B、 A redo log file was lost at the specified time.C、 The backup control file is on a faster disk than the current one.D、 The current control file has a different path compared with the intended time of recovery.E、 The current control file does not match the physical structure of the database at the intended time of recovery.

You have recovered your Oracle Database 10g by using the control file backup because all copies of the current control file have been lost due to a media failure. You open your database by using the following statement:       SQLALTER DATABASE OPEN RESETLOGS;   Which of the following options is true about using the RESETLOGS option?()A、 The log sequence is reset to 0.B、 All the online redo logs are deleted.C、 All the archived redo logs from a previous incarnation become useless.D、 The full database backup taken from a previous incarnation can be used in future.E、 Only the control file and online redo log files are updated with a new RESETLOGS SCN and time stamp.

You are maintaining your database in Oracle10g. You are performing the backup by using the BACKUP AS BACKUPSET command at the RMAN prompt. Which file cannot be backed up by using the BACKUP AS BACKUPSET command?()A、DatafilesB、 Current control fileC、 Server parameter file (spfile)D、 Password file

In which scenario will you issue the following command?()      SQL RECOVER DATABASE UNTIL TIME ’2005-10-04 : 12:09:08’ USING        BACKUP CONTROLFILE;A、 when all the control files are missing and only a binary backup of the current control file existsB、 when a multiplexed copy of the current control file is missingC、when all the control files are missing and only a script containing the CREATE CONTROLFILE statement existsD、 when the SPFILE is missing

单选题A customer has downloaded new firmware files for the IBM support Web Site. Which of the following is the correct method for updating the firmware for the QLogic Intelligent Passthru Module using the command line?()ATransfer the file to the FC module using FTP; use Telnet to the FC module to start the updateBUse Telnet to the AMM to transfer the file using TFTP; start the updateCTransfer the file to the FC module using Secure Copy Protocol (SCP);use Telnet to the FC module to start the updateDStart the update and enter FC module IP address when prompted

单选题Which of the following will occur if an operator types the command vi file.out?()AIf the file exists it will be opened for editing. If the file does not exist an error message will be displayed.BIf 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.CIf 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.DIf 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.

单选题In which scenario will you issue the following command?()      SQL RECOVER DATABASE UNTIL TIME ’2005-10-04 : 12:09:08’ USING        BACKUP CONTROLFILE;A when all the control files are missing and only a binary backup of the current control file existsB when a multiplexed copy of the current control file is missingCwhen all the control files are missing and only a script containing the CREATE CONTROLFILE statement existsD when the SPFILE is missing

单选题You have recovered your Oracle Database 10g by using the control file backup because all copies of the current control file have been lost due to a media failure. You open your database by using the following statement:       SQLALTER DATABASE OPEN RESETLOGS;   Which of the following options is true about using the RESETLOGS option?()A The log sequence is reset to 0.B All the online redo logs are deleted.C All the archived redo logs from a previous incarnation become useless.D The full database backup taken from a previous incarnation can be used in future.E Only the control file and online redo log files are updated with a new RESETLOGS SCN and time stamp.

单选题You are maintaining your database in Oracle10g. You are performing the backup by using the BACKUP AS BACKUPSET command at the RMAN prompt. Which file cannot be backed up by using the BACKUP AS BACKUPSET command?()ADatafilesB Current control fileC Server parameter file (spfile)D Password file

单选题Given that the current directory is empty, and that the user has read and write privileges to the current directory, and the following: Which statement is true?()A Compilation fails.B Nothing is added to the file system.C Only a new file is created on the file system.D Only a new directory is created on the file system.E Both a new file and a new directory are created on the file system.

单选题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 is editing a file using a keyboard without arrow keys. What key can be used to move the cursor one character to the right?()AnBjCkDl

单选题You performed an incomplete recovery on your Oracle Database 10g database using the following command:  SQL RECOVER DATABASE  2 UNTIL TIME ’2004/x7f08/x7f05:12:10:03’  3 USING BACKUP CONTROLFILE;  In which situation would the above recovery be required?()AA user table was lost at the specified time.BA redo log file was lost at the specified time.CThe backup control file is on a faster disk than the current one.DThe current control file has a different path compared with the intended time of recovery.EThe current control file does not match the physical structure of the database at the intended time of recovery.

单选题You have discovered that one of three control files has been lost. What steps would you follow to recover that control file?()   a. Shut down the database.  b. Restore a control-file copy from backup media.  c. Use the create control file command to create a new control file.  d. Copy the backup control file into place.  e. Create a new copy of the control file from one of the surviving control files.  f. Recover the database using the recover database using backup control file command.  g. Start up the database.Aa, b, f, gBc, f, gCa, d, f, gDa, f, gEa, e, g

单选题You performed an incomplete recovery on your Oracle Database 10g database using the following command:   SQL RECOVER DATABASE  2 UNTIL TIME ’2004-08-05:12:10:03’ 3 USING BACKUP CONTROLFILE;  In which situation would the above recovery be required?()A A user table was lost at the specified time.B A redo log file was lost at the specified time.C The backup control file is on a faster disk than the current one.D The current control file has a different path compared with the intended time of recovery.E The current control file does not match the physical structure of the database at the intended time of recovery.