网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
在一个bash shell脚本的第一行上应加入下面所示中的哪一条语句。()

A. #/bin/csh

B. #/bin/bash

C. /bin/bash

D. #!/bin/bash


参考答案

更多 “ 在一个bash shell脚本的第一行上应加入下面所示中的哪一条语句。() A. #/bin/cshB. #/bin/bashC. /bin/bashD. #!/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文件的安装软件包的命令为:()A rpm–qi/bin/tarB rpm–ql/bin/tarC rpm–qf/bin/tarD rpm–ivh/bin/tar

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

考题 单选题在Linux系统中的脚本文件一般以什么开头?()A $/bin/shB #!/bin/shC use/bin/shD set 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