Wednesday 6 September 2017

CompTIA LX0-104 Question Answer

Which command makes the shell variable named VARIABLE visible to subshells?

A. export $VARIABLE
B. export VARIABLE
C. set $VARIABLE
D. set VARIABLE
E. env VARIABLE

Answer: B


What output will the 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 through 9 with one number per line.
D. The number 10 to standard output.

Answer: B