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


相似考题
更多“单选题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”相关问题
  • 第1题:

    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, g
    • B、c, f, g
    • C、a, d, f, g
    • D、a, f, g
    • E、a, e, g

    正确答案:E

  • 第2题:

    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、n
    • B、j
    • C、k
    • D、l

    正确答案:D

  • 第3题:

    Operator needs to remove all leading comments # from shell.script file. Which of the following vi sub-command can achieve this?()

    • A、:r/^#//g
    • B、:1,$ s/^#//g
    • C、:sed s/^#//g
    • D、:sub s/^#//g

    正确答案:D

  • 第4题:

    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.

    正确答案:B

  • 第5题:

    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.

    正确答案:E

  • 第6题:

    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、Datafiles
    • B、 Current control file
    • C、 Server parameter file (spfile)
    • D、 Password file

    正确答案:D

  • 第7题:

    单选题
    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 update

    B

    Use Telnet to the AMM to transfer the file using TFTP; start the update

    C

    Transfer the file to the FC module using Secure Copy Protocol (SCP);use Telnet to the FC module to start the update

    D

    Start the update and enter FC module IP address when prompted


    正确答案: B
    解析: 暂无解析

  • 第8题:

    单选题
    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.


    正确答案: B
    解析: 暂无解析

  • 第9题:

    单选题
    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:       SQL>ALTER 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.


    正确答案: C
    解析: 暂无解析

  • 第10题:

    单选题
    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.


    正确答案: A
    解析: 暂无解析

  • 第11题:

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

    n

    B

    j

    C

    k

    D

    l


    正确答案: B
    解析: 暂无解析

  • 第12题:

    单选题
    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, g

    B

    c, f, g

    C

    a, d, f, g

    D

    a, f, g

    E

    a, e, g


    正确答案: B
    解析: 暂无解析

  • 第13题:

    Which of the following components is MOST important when building a Gaming PC?()

    • A、File sharing
    • B、TV tuner
    • C、Media streaming
    • D、High-end video card

    正确答案:D

  • 第14题:

    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

    正确答案:B

  • 第15题:

    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 update
    • B、Use Telnet to the AMM to transfer the file using TFTP; start the update
    • C、Transfer the file to the FC module using Secure Copy Protocol (SCP);use Telnet to the FC module to start the update
    • D、Start the update and enter FC module IP address when prompted

    正确答案:A

  • 第16题:

    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.

    正确答案:B,C,D

  • 第17题:

    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:       SQL>ALTER 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.

    正确答案:D

  • 第18题:

    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 exists
    • B、 when a multiplexed copy of the current control file is missing
    • C、when all the control files are missing and only a script containing the CREATE CONTROLFILE statement exists
    • D、 when the SPFILE is missing

    正确答案:A

  • 第19题:

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


    正确答案: B
    解析: 暂无解析

  • 第20题:

    单选题
    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 exists

    B

     when a multiplexed copy of the current control file is missing

    C

    when all the control files are missing and only a script containing the CREATE CONTROLFILE statement exists

    D

     when the SPFILE is missing


    正确答案: D
    解析: 暂无解析

  • 第21题:

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

    Datafiles

    B

     Current control file

    C

     Server parameter file (spfile)

    D

     Password file


    正确答案: D
    解析: 暂无解析

  • 第22题:

    单选题
    Operator needs to remove all leading comments # from shell.script file. Which of the following vi sub-command can achieve this?()
    A

    :r/^#//g

    B

    :1,$ s/^#//g

    C

    :sed s/^#//g

    D

    :sub s/^#//g


    正确答案: A
    解析: 暂无解析

  • 第23题:

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


    正确答案: A
    解析: 暂无解析

  • 第24题:

    单选题
    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.


    正确答案: A
    解析: 暂无解析