Operator needs to remove all leading comments # from shell.s

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

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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


参考答案:B

第2题:

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

B. lcd /var/spool

C. cd /usr/bin /var/spool

D. lcd /usr/bin /var/spool


参考答案:A

第3题:

Use regex to remove all html tags from a file.


正确答案:
 

第4题:

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 fire
  • B、IBM ServicePacs remove a liability from you the reseller in the event of flooding
  • C、IBM ServicePacs provide improved warranty coverage
  • D、Service just adds a layer of cost you do not need
  • E、all of the above

正确答案:C

第5题:

Backstays are ______.

A.Running rigging leading aft from the masts

B.Running rigging leading forward from the masts

C.Standing rigging leading aft from the masts

D.Standing rigging from the cross trees to the mast head


正确答案:C

第6题:

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

第7题:

To prevent the spread of fire by conduction, you should ______.

A.cool the bulkheads around the fire

B.remove combustibles from direct exposure

C.close all openings to the area

D.shut off all electric power


正确答案:A

第8题:

Which of the following procedures should occur before removing a failing disk from a volume group?()

A.Veryoff the volume group

B.Unmount any filesystems on the disk

C.Remove all physical partitions on the disk

D.Unmount mirrored filesystems from the disk


参考答案:B

第9题:

Which of the following procedures should occur before removing a failing disk from a volume group?()

  • A、Veryoff the volume group
  • B、Unmount any filesystems on the disk
  • C、Remove all physical partitions on the disk
  • D、Unmount mirrored filesystems from the disk

正确答案:B

第10题:

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 cord
  • D、Use an anti-static wrist strap.
  • E、Turn off the computer.
  • F、Place the computer on the anti-static mat

正确答案:B

更多相关问题