早教吧作业答案频道 -->其他-->
LinuxShell问题6)在RedHatEnterpriseLinux4.0系统中,“run.sh”是Shell执行脚本,在执行./run.shfile1file2file3的命令的过程中,变量$1的值为()。(选择一项)a)run.shb)file1c)fi
题目详情
Linux Shell问题
6) 在Red Hat Enterprise Linux 4.0系统中,“run.sh”是Shell执行脚本,在执行./run.sh file1 file2
file3的命令的过程中,变量$1的值为( )。(选择一项)
a) run.sh
b)
file1
c) file2
d) file3
6) 在Red Hat Enterprise Linux 4.0系统中,“run.sh”是Shell执行脚本,在执行./run.sh file1 file2
file3的命令的过程中,变量$1的值为( )。(选择一项)
a) run.sh
b)
file1
c) file2
d) file3
▼优质解答
答案和解析
选择b
shell中命令行参数:$0表示脚本名,$1-$9表示后面的参数
shell中命令行参数:$0表示脚本名,$1-$9表示后面的参数
看了 LinuxShell问题6)...的网友还看了以下:
一道简单的二阶导数和一道简单的不定积分1,设f"(x)存在,证明lim(h->0)[f(x0+h) 2020-05-13 …
matlab中,这个程序错在哪?clc clear alllamada=0.2;theta=0.7 2020-05-16 …
无氧酸有那些,分解反应有水和盐生成的第一问,可用元素CU,C(+4),O,H,NA,S(-2)朋友 2020-05-17 …
一汽车没有安装ABS,急刹车后,车轮在路面上滑动.(h=10m/s^2)(1)若车轮与干燥路面间的 2020-06-09 …
导数计算f(x)在x=a处二阶可导,则limh→0时{[f(a+h)-f(a)]/h-f'(a)} 2020-06-10 …
导数计算f(x)在x=a处二阶可导,则limh→0时{[f(a+h)-f(a)]/h-f'(a)} 2020-06-10 …
这5道题用波兰式表达(1)A*(B-C)+T/(D+E)-F/(S*H)(2)A/(B*C(E+F 2020-07-08 …
复阻抗Z(s)表达式中的s代表什么?例如Z(s)=H(s^2+4)/(s^2+9) 2020-07-14 …
f(x)=sinx,求f(1+h),[f(1+h)-f(1)]/h根据和差化积公式:sinα-si 2020-08-02 …
说出下列比例式中的比例内项、比例外项(1)p/q=f/s(2)(x+1):x=(1+1/x):1 2020-08-02 …