1.What output will the following command seq 10 produce?
A.A continuous stream of numbers increasing in increments of 10 until stopped.
B.The numbers 1 through 10 with one number per line.
C.The numbers 0 though 9 with one number per line.
D.The number 10 to standard output.
Answer: B
2.Which command allows you to make a shell variable visible to subshells?
A.export $VARIABLE
B.export VARIABLE
C.set $VARIABLE
D.set VARIABLE
E.env VARIABLE
Answer: B
3.Which bash option will prevent you from overwriting a file with a ">"?
A.set -o safe
B.set -o noglob
C.set -o noclobber
D.set -o append
E.set -o nooverwrite
Answer: C
4.What output will the following command produce?
seq 1 5 20
A.1 6 11 16
B.1 5 10 15
C.1 2 3 4
D.2 3 4 5
E.5 10 15 20
Answer: A
2015职称计算机考试书PowerPoint2007中 .. 定价:¥45 优惠价:¥42 更多书籍 | |
2015年全国职称计算机考试教材(2007模 .. 定价:¥225 优惠价:¥213 更多书籍 |