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


参考解析

解析: 暂无解析

相关考题:

A technician needs to replace a computer’s hard drive. Which of the following should thetechnician do FIRST?() A. Remove network connectionsB. Remove the RAMC. Self ground on the computer caseD. Disconnect power to PC

Which of the following can an operator use to shutdown a system into single-user mode?() A.shutdown -dB.shutdown -sC.shutdown -mD.shutdown -Fr -s 1

The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this?() A. chmod -R o-s /applicationB. chmod -R ug-s /applicationC. chmod -R -s -o /applicationD. chmod -R -s -ug /application

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

After performing a modification on the /etc/ssh/sshd_config file the operator needs to reinitialize the secure shell daemon to enable the new settings. Which of the following is the correct way to achieve this?()A. Use refresh -s sshdB. Use init.sshd /etc/rc.sshC. Use /usr/sbin/sshd -restartD. Use stopsrc -s sshd and then startsrc -s sshd

The following output occurs on Router R2. Which of the following statements can be confirmed as true based on the output from R2?()R2 show ip policyInterface Route mapFa0/0 RM1Fa0/1 RM2S0/0/0 RM3 A. R2 will forward all packets that enter Fa0/0 per the PBR configuration.B. R2 will use route map RM2 when determining how to forward packets that exit interface Fa0/1.C. R2 will consider using PBR for all packets exiting S0/0 /0 per route map RM3.D. R2 will consider using PBR for all packets entering S0/0/0 per route map RM3.

给定关系R(A,B,C,D,E)与S(A,B,C,F,G),那么与表达式等价的SQL语句如下:select(请作答此空)from R,S where( );A.R.A,R.B,R.E,S.C,GB.R.A,R.B,D,F,GC.R.A,R.B,R.D,S.C,FD.R.A,R.B,R.D,S.C,G

以下哪条vi命令能将文档5-20行间出现的abc替换成为cba()。A、1,$s/abc/cba/gB、5,20/abc/cba/gC、5-20s/abc/cba/gD、5,20s/abc/cba/g

After performing a modification on the /etc/ssh/sshd_config file the operator needs to reinitialize the secure shell daemon to enable the new settings. Which of the following is the correct way to achieve this?()A、Use refresh -s sshdB、Use init.sshd /etc/rc.sshC、Use /usr/sbin/sshd -restartD、Use stopsrc -s sshd and then startsrc -s sshd

EPON系统可以提供上下行对称带宽为()Gb/S。A、1GB、10GC、2.5GD、1.25G

Which of the following methods effectively removes data from a hard drive prior to disposal?()A、Use the remove hardware OS featureB、Formatting the hard driveC、Physical destructionD、Degauss the driveE、Overwriting data with 1s and 0s by utilizing software

A technician needs to replace a computer’s hard drive. Which of the following should thetechnician do FIRST?()A、Remove network connectionsB、Remove the RAMC、Self ground on the computer caseD、Disconnect power to PC

A System p administrator wishes to create a template file to monitor performance. Having found a template from January,  how can the administrator create a July template without destroying the original January version ()A、vi jan.template :%s/Jan/Jul/g :w jul.template :q!B、cat jan.template sed s:Jan:Jul:  jan.templateC、vi jan.template :1,$ replace Jan Jul [Esc] ZZD、vi jan.template :w jul.template :1,$ s/Jan/Jul/g :q!

Which of the following can an operator use to shutdown a system into single-user mode?()A、shutdown -dB、shutdown -sC、shutdown -mD、shutdown -Fr -s 1

How can a directory be excluded from a mksysb backup of the following?()A、Put an entry in the /etc/exclude.rootvg fileB、Put an entry in the /etc/mksysb.exclude fileC、Remove the directory’s entry from the mksysb /image.data fileD、Remove the directory’s entry from the /var/adm/ras/bosinst.data file

How can a directory be excluded from a mksysb backup()A、Put an entry in the /etc/exclude.rootvg file.B、Put an entry in the /etc/mksysb.exclude file.C、Remove the directory’s entry from the mksysb /image.data file.D、Remove the directory’s entry from the /var/adm/ras/bosinst.data file.

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

The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this?()A、chmod -R o-s /applicationB、chmod -R ug-s /applicationC、chmod -R -s -o /applicationD、chmod -R -s -ug /application

An operator must check the status of print queues on a regular basis. Which of the following commands can be used to check on all the print queues?()A、lslp -aB、qchk -AC、enq -s ALLD、lpstat -p ALL

下列反应中,哪个是表示ΔH=ΔHfA、gB、r(s)的反应?()A、A、g(A、q)+B、r(A、q)=A、gB、r(s)B、B、2g(s)+B、r2=2A、gB、r(s)C、C、g(s)+1/2B、r2(l)=A、gB、r(s)D、D、g(s)+1/2B、r2(S)=A、gB、r(s)

多选题Which of the following methods effectively removes data from a hard drive prior to disposal?()AUse the remove hardware OS featureBFormatting the hard driveCPhysical destructionDDegauss the driveEOverwriting data with 1s and 0s by utilizing software

单选题When planning to access the on-line documentation from a remote client, which of the following procedures should be performed on the server?()AInstall and configure the HTTPServer. BAdd the name(s) of the client(s) to the httplite.conf file. CAdd the names of any clients expecting to access the documentation to the /etc/hosts file. DNo action is required.

单选题Which of the following can an operator use to shutdown a system into single-user mode?()Ashutdown -dBshutdown -sCshutdown -mDshutdown -Fr -s 1

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

单选题According to the passage, which of the following statements is TRUE?AChokwe developed the app all by himself.BPeople can buy t is app from the online store.CHis mother's car was once damaged over a pothole.DThe app works by using the city's 911 call system.

单选题After performing a modification on the /etc/ssh/sshd_config file the operator needs to reinitialize the secure shell daemon to enable the new settings. Which of the following is the correct way to achieve this?()AUse refresh -s sshdBUse init.sshd /etc/rc.sshCUse /usr/sbin/sshd -restartDUse stopsrc -s sshd and then startsrc -s sshd

单选题The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this?()Achmod -R o-s /applicationBchmod -R ug-s /applicationCchmod -R -s -o /applicationDchmod -R -s -ug /application

单选题An operator must check the status of print queues on a regular basis. Which of the following commands can be used to check on all the print queues?()Alslp -aBqchk -ACenq -s ALLDlpstat -p ALL