CompTIA LX0-104 CompTIA Linux+ [Powered by LPI] 2 Online Training

Exam4Training is the best side providing with best material for CompTIA LX0-104 exam which has made things very easier for candidates to get themselves prepare for the CompTIA Linux+ [Powered by LPI] 2 exam. You can easily prepare the LX0-104 exam through its CompTIA LX0-104 CompTIA Linux+ [Powered by LPI] 2 Online Training, which can help you to pass your LX0-104 with ease. For passing the Linux+ LX0-104 exam you must have to take help from valuable CompTIA LX0-104 CompTIA Linux+ [Powered by LPI] 2 Online Training available at Exam4Training.

Page 1 of 3

1. Topic 1, Shells, Scripting and Data Management



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

2. Which Bash option prevents a user from accidentally overwriting a file with a ">"?

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

4. What word will complete an if statement in bash such as the following: if [ -x "$file" ]; then echo $file _____ (Please provide the missing word only)

5. What word is missing from the following SQL statement? update tablename ____ fieldname='value' where id=909; (Please specify the missing word using lower_case letters only.)

6. Which of the following SQL statements will select the fields name and address from the contacts table?

7. Which of the following configuration files should be modified to globally set shell variables for all users?

8. Which of the following commands are used to manage the environment and shell variables within a shell process? (Choose TWO correct answers.)

9. Which of the following are operators used for comparisons by the test command? (Choose TWO correct answers.)

10. Which of the following commands creates a function in Bash that outputs the sum of two numbers?