在一个bash shell脚本的第一行上应加入下面所示中的哪一条语句。() A. #/bin/cshB. #/bin/bashC. /bin/bashD. #!/bin/bash

在一个bash shell脚本的第一行上应加入下面所示中的哪一条语句。()

A. #/bin/csh

B. #/bin/bash

C. /bin/bash

D. #!/bin/bash


相关考题:

在Linux系统中的脚本文件一般以什么开头()。A.$/bin/shB.!/bin/shC.use/bin/shD.setshell=/bin/sh

Whichofthefollowingcommandsmakes/bin/fooexecutablebyeveryonebutwritableonlybyitsowner?() A.chmod557/bin/fooB.chmodo+rwx.a+rx/bin/fooC.chown557/bin/fooD.chmod755/bin/foo

AsystemadministratorhasjustfinishedupgradingasystemtoAIX5.2.Iftherearefutureproblems,thesystemadministratorwouldliketoaddanentrytotheAIXerrorlogtorecordthisevent.Whichofthefollowingcommandscanbeissuedforthispurpose?()A./usr/bin/errmsgSystemupgradedtoAIX5.2B./usr/bin/errlogSystemupgradedtoAIX5.2C./usr/bin/errupdateSystemupgradedtoAIX5.2D./usr/bin/errloggerSystemupgradedtoAIX5.2

Which command will change the user webserver’s shell toksh93?() A.chshell -ksh93 webserverB.chsh webserver /usr/bin/ksh93C.chuser -a shell=/usr/bin/ksh93 webserverD.setuid -a SHELL=/usr/bin/ksh93 -u webserver

An operator is asked to verify the exact location of the default JRE binary. The following commands were run:$ which java /usr/bin/java$ ls -l /usr/bin/javalrwxrwxrwx 1 root other 23 Jan 27 2006 /usr/bin/java - ../jre1.5.0_06/bin/javaBased on the command outputs above, what is the path to the java executable file?()A. /usr/bin/javaB. /usr/jre1.5.0_06/bin/javaC. /usr/bin/jre1.5.0_06/bin/javaD. /usr/bin/java/jre1.5.0_06/bin/java

Solaris中的Bourne shell的路径是() A./bin/shB./bin/cshC./bin/kshD./bin/rsh

写出在/bin目录中查找名为bash的文件的命令。

奔富Bin系列里,被称为“小葛兰许”的一款葡萄酒是()。A、Bin 28B、Bin 95C、Bin 389D、Bin 407

在Linux系统中,有大量的软件安装包存在,那么查看/bin/tar文件的安装软件包的命令为:()A、rpm–qi/bin/tarB、rpm–ql/bin/tarC、rpm–qf/bin/tarD、rpm–ivh/bin/tar

在Linux系统中的脚本文件一般以什么开头?()A、$/bin/shB、#!/bin/shC、use/bin/shD、set shell=/bin/sh

在/etc/passwd中某一行信息为“linux01:x:505:505:/home/linux12: /bin/bash”,由此可知哪些信息?

在一个bashshell脚本的第一行上应加入下面所示中的哪一条语句。()A、#/bin/cshB、#/bin/bashC、/bin/bashD、#!/bin/bash

加载动态语音文件时,需要把动态语音文件放置在OMU的()目录下。A、C、/bam/bin/newB、C、/bam/bin/toneC、C、/bam/bin/tonepatchD、D、/bam/bin/patch

center linux下,查看/bin/tar文件的安装软件包的命令为:rpm–qf/bin/tar()A、rpm–qf/bin/tarB、rpm–qfC、rpm–q/bin/tarD、rpm–qi/bin/tar

Solaris中的Bourne shell的路径是()A、/bin/shB、/bin/cshC、/bin/kshD、/bin/rsh

Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?()A、 chmod 557 /bin/fooB、 chmod o+rwx.a+rx/bin/fooC、 chown 557 /bin/fooD、 chmod 755/bin/foo

Which command will change the user webserver’s shell toksh93?()A、chshell -ksh93 webserverB、chsh webserver /usr/bin/ksh93C、chuser -a shell=/usr/bin/ksh93 webserverD、setuid -a SHELL=/usr/bin/ksh93 -u webserver

An operator is asked to verify the exact location of the default JRE binary. The following commands were run: $ which java /usr/bin/java $ ls -l /usr/bin/java lrwxrwxrwx 1 root other 23 Jan 27 2006 /usr/bin/java - ../jre1.5.0_06/bin/java Based on the command outputs above, what is the path to the java executable file?()A、/usr/bin/javaB、/usr/jre1.5.0_06/bin/javaC、/usr/bin/jre1.5.0_06/bin/javaD、/usr/bin/java/jre1.5.0_06/bin/java

When run on a machine called client, which of the following commands will mount the /usr/local/bin directory from the host over the /home/bin directory on client?()A、mount host:/home/bin /usr/local/binB、mount client:/home/bin /usr/local/binC、mount -n host /usr/local/bin /home/binD、mount -o host:/usr/local/bin /home/bin

红帽企业版中默认的shell是/bin/sh的程序。

单选题在Linux系统中,有大量的软件安装包存在,那么查看/bin/tar文件的安装软件包的命令为:()Arpm–qi/bin/tarBrpm–ql/bin/tarCrpm–qf/bin/tarDrpm–ivh/bin/tar

问答题写出在/bin目录中查找名为bash的文件的命令。

单选题在Linux系统中的脚本文件一般以什么开头?()A$/bin/shB#!/bin/shCuse/bin/shDset shell=/bin/sh

单选题An operator is asked to verify the exact location of the default JRE binary. The following commands were run: $ which java /usr/bin/java $ ls -l /usr/bin/java lrwxrwxrwx 1 root other 23 Jan 27 2006 /usr/bin/java - ../jre1.5.0_06/bin/java Based on the command outputs above, what is the path to the java executable file?()A/usr/bin/javaB/usr/jre1.5.0_06/bin/javaC/usr/bin/jre1.5.0_06/bin/javaD/usr/bin/java/jre1.5.0_06/bin/java

问答题在/etc/passwd中某一行信息为“linux01:x:505:505:/home/linux12: /bin/bash”,由此可知哪些信息?

单选题Solaris中的Bourne shell的路径是()A/bin/shB/bin/cshC/bin/kshD/bin/rsh

单选题在一个bashshell脚本的第一行上应加入下面所示中的哪一条语句。()A#/bin/cshB#/bin/bashC/bin/bashD#!/bin/bash