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

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


参考解析

解析: 暂无解析

相关考题:

Use regex to remove all html tags from a file.

Which of the following procedures should occur before removing a failing disk from a volume group?() A.Veryoff the volume groupB.Unmount any filesystems on the diskC.Remove all physical partitions on the diskD.Unmount mirrored filesystems from the disk

An operator wants to move all files inside the directory /home/operator to the current directory. Which of the following commands will complete the task?() A. mv /home/operator .B. mv /home/operator/* .C. mv /home/operator ../..D. mv /home/operator/all ../home/operator

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 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

To prevent the spread of fire by conduction, you should ______.A.cool the bulkheads around the fireB.remove combustibles from direct exposureC.close all openings to the areaD.shut off all electric power

Backstays are ______.A.Running rigging leading aft from the mastsB.Running rigging leading forward from the mastsC.Standing rigging leading aft from the mastsD.Standing rigging from the cross trees to the mast head

Which of the following procedures should occur before removing a failing disk from a volume group?()A、Veryoff the volume groupB、Unmount any filesystems on the diskC、Remove all physical partitions on the diskD、Unmount mirrored filesystems from the disk

Your end user customer has not requested a ServicePac to cover the base unit and options they have purchased.  What is a compelling reason to offer service? ()A、IBM ServicePacs remove a liability from you the reseller in the event of fireB、IBM ServicePacs remove a liability from you the reseller in the event of floodingC、IBM ServicePacs provide improved warranty coverageD、Service just adds a layer of cost you do not needE、all of the above

which of the following actions will you not take before beginning installation or removal of anyNON-PNP hardware device inside the computer case?()A、Place all the hardware components in static proof bags.B、Remove all the jumpers from the motherboard.C、Switch off the main power and remove the power cordD、Use an anti-static wrist strap.E、Turn off the computer.F、Place the computer on the anti-static mat

A company is deploying a new file server to consolidate shares from several legacy servers. Which of the following is the BEST method to ensure that the new file shares are being used?()A、 Setup the new file server and shut down the legacy servers.B、 Remove all the DNS entries for the legacy servers.C、 Create a logon script to remap the old file shares to the new file shares.D、 Go to each users computer, remove all shares and setup the new shares.

An operator wants to move all files inside the directory /home/operator to the current directory. Which of the following commands will complete the task?()A、mv /home/operator .B、mv /home/operator/* .C、mv /home/operator ../..D、mv /home/operator/all ../home/operator

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

You have an Exchange Server 2010 organization that contains a database availability group (DAG) named DAG1.DAG1 contains five Mailbox servers including a server named MBX1.MBX1 fails.You plan to perform a recovery installation of MBX1.You need to ensure that the restored server can become a member of DAG1.The solution must ensure that mailbox databases are available if a single server fails.What should you do?()A、Remove MBX1 from DAG1.B、Remove all mailbox database copies from DAG1.C、Remove the computer account for MBX1 from Active Directory.D、Run the Clean-MailboxDatabase cmdlet on all other members of DAG1 except MBX1.

You have an Exchange organization that contains Exchange 2000 Server Service Pack 3 (SP3), Exchange Server 2003 Service Pack 2 (SP2), and Exchange Server 2007 Service Pack 1 (SP1) servers. You need to transition the organization to Exchange Server 2010.  What should you do first?()A、Remove all Exchange Server 2007 SP1 servers from the organization.B、Remove all Exchange 2000 Server and all Exchange Server 2003 servers from the organization.C、Remove all Exchange 2000 Server servers from the organization,and then upgrade all Exchange server 2007 servers to SP2.D、Remove all Exchange Server 2003 servers from the organization,and then upgrade all Exchange server 2007 servers to SP2.

Your network contains a public computer that runs Windows 7. Multiple users log on to the computer byusing a local user account named User1. Users report that they can log on to some secure Web sites byusing credentials that were saved by other users. You need to prevent forms-based credentials from beingsaved on the computer.  What should you do?()A、Remove all generic credentials from Windows Vault.B、Remove all Windows credentials from Windows Vault.C、Modify the Windows Internet Explorer certificates settings.D、Modify the Windows Internet Explorer AutoComplete settings.

You work as an administrator at ABC.com. The ABC.com network consists of a single domain named ABC.com. All servers in the ABC.com domain, including domain controllers, have Windows Server 2012 R2 installed.You have just executed the Uninstall-WindowsFeature Server-Gui-Shell –Remove cmdlet on a ABC.com server, named ABC-SR13.Which of the following is the reason for doing this?()A、To only remove Windows Explorer from ABC-SR13.B、To only remove the Windows Internet Explorer from ABC-SR13.C、To only remove the components and files related to Windows Explorer from ABC-SR13.D、To remove Windows Explorer, Windows Internet Explorer, and all associated components and files from ABC-SR13.

You are planning the migration of an existing application to Windows Azure and SQL Azure.  The original application includes a Microsoft SQL Server 2008 database.   You need to recommend an approach for ensuring that the database migrates successfully toSQL Azure.  Which two actions should you recommend?()A、 Remove all clustered indexes from the database.B、 Remove all dependencies on the Microsoft Distributed Transaction Coordinator (MSDTC) from the application.C、 Use SSL and SQL authentication to connect to the database.D、 Use SSL and Windows authentication to connect to the database.

单选题Which one is true as regards to the hard hat according to the passage?()AIt needs not to be regularly replacedBIt is designed to protect from possible impactCIt is required to be worn on deck at all times by all shipsDfibreglass hardhat should not be used on board ships

单选题Backstays are().Arunning rigging leading aft from the mastsBrunning rigging leading forward from the mastsCstanding rigging leading aft from the mastsDstanding rigging from the cross trees to the mast head

单选题Company.com wants to reassign a host bus adapter (HBA) from one partition to another to  handle increased I/O workload on that partition. What needs to be done to dynamically move the card?()AUse the rmdev command to remove the card from the current partition before doing the DLPAR process.BTake the source partition down and do the DLPAR function on the target partition.CAssign the card to the required section of the target partition and run cfgmgr.DDynamically remove the card from the source and add to target profile then reactivate the target profile.

单选题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 needs to change from the /usr/bin to the /var/spool directory. Which of the following commands will accomplish this?()Acd /var/spoolBlcd /var/spoolCcd /usr/bin /var/spoolDlcd /usr/bin /var/spool

单选题You work as an administrator at ABC.com. The ABC.com network consists of a single domain named ABC.com. All servers in the ABC.com domain, including domain controllers, have Windows Server 2012 R2 installed.You have just executed the Uninstall-WindowsFeature Server-Gui-Shell –Remove cmdlet on a ABC.com server, named ABC-SR13.Which of the following is the reason for doing this?()ATo only remove Windows Explorer from ABC-SR13.BTo only remove the Windows Internet Explorer from ABC-SR13.CTo only remove the components and files related to Windows Explorer from ABC-SR13.DTo remove Windows Explorer, Windows Internet Explorer, and all associated components and files from ABC-SR13.

单选题Water is a very effective fire extinguishing agent because it()Awill remove all the toxic fumes from the airBhas the greatest cooling abilityCwill leave no harmful residueDcompletely removes combustible vapors from the air

单选题Backstaysare()。Arunning rigging leading aft from the mastsBrunning rigging leading forward from the mastsCstanding rigging leading aft from the mastsDstanding rigging from the trees to the mast head

单选题An administrator is supporting an AIX 6.1 LPAR remotely and needs a tape operator to plug a cable into an Ethernet adapter. The tape operator does not have POWER6 595 knowledge.  What can the administrator do to assist the tape operator to locate the correct adapter?()AAdvise the tape operator to review the hardware service guide.BUse the diag command to set the Ethernet adapter slot LED to flash.CAdvise the tape operator to check the WWN stickers of all Ethernet adapter in the I/O drawers.DCreate a login account for tape operator on the HMC and advise the tape operator to locate the adapter using the GUI step by step.

单选题When fighting fires in spaces containing bottles of LPG (liquefied petroleum gas),you should ().Aattempt to isolate the fire from the LPGBcool the bottles or remove them from the fire areaCsee that the valves on all LPG bottles are closedDplace insulating material over the bottles