LX0-104 practice questions, page 3 of 7, with answer review and explanations.
Question 11
Which command makes the shell variable named VARIABLE visible to subshells?
export $VARIABLE
export VARIABLE
set $VARIABLE
set VARIABLE
env VARIABLE
Question 12
What output will the command seq 10 produce?
A continuous stream of numbers increasing in increments of 10 until stopped.
The numbers 1 through 10 with one number per line.
The numbers 0 through 9 with one number per line.
The number 10 to standard output.
Question 13
SIMULATION - By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)
Question 14
SIMULATION - What word is missing from the following SQL statement? __________ count(*) from tablename; (Please specify the missing word using lower-case letters only.)
Question 15
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)