1.To test a shell script called myscript, the environment variable FOOBAR must be removed temporarily.
How can this be done?
A.unset -v FOOBAR
B.set -a FOOBAR=""
C.env -u FOOBAR myscript
D.env -i FOOBAR myscript
Answer: C
2.Which command will print the exit value of the previous command to the screen in bash?
A.echo $?
B.echo $#
C.echo $exit
D.echo $status
E.echo $&
Answer: A
2015职称计算机考试书PowerPoint2007中 .. 定价:¥45 优惠价:¥42 更多书籍 | |
2015年全国职称计算机考试教材(2007模 .. 定价:¥225 优惠价:¥213 更多书籍 |