Free LX0-104 Braindumps


  • Exam Number: LX0-104
  • Provider: Comptia
  • Questions: 178
  • Updated On: 14-Jun-2019

Topic 1, Shells, Scripting and Data Management

QUESTION: 1

What is true regarding the statement beginning with #! that is found in the first line of a script?

A. It prevents the script from being executed until the ! is removed.
B. It specifies the path and the arguments of the interpreter used to run the script.
C. It is a comment that is ignored by the script.
D. It specifies the character encoding of the script.

Answer(s): B

QUESTION: 2
Which Bash option prevents a user from accidentally 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(s): C

QUESTION: 3
Which of the following commands prints the exit value of the most recently executed program in
Bash?

A. echo $?
B. echo $#
C. echo $exit
D. echo $status
E. echo $&

Answer(s): A

QUESTION: 4
CORRECT TEXT

What word wil complete an if statement in bash such as the following: if [ -x "$file" ]; then echo
$file _____

(Please provide the missing word only)

A. fi
B. file

Get The Premium Version

Allbraindumps.com
 Test Questions PDF from Myitguides.com

 Test Questions PDF from Myitguides.com