Study Free Comptia LX0-104 exam test questions online

Comptia candidates must pass LX0-103 before taking LX0-104. CompTIA Linux+ covers common tasks in major distributions of Linux, including the Linux command line, basic maintenance, installing and configuring workstations, and networking. Linux+ is comprised of two exams – LX0-103 and LX0-104.

When you take your Comptia LX0-104 exam test you will answer the questions which are in Multiple choice. And you should complete the LX0-104 exam test in 90 minutes.

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. Which of the following SQL statements will select the fields name and address from the contacts table?

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

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

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

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

9. What output will the following command sequence produce?
echo '1 2 3 4 5 6' | while read a b c; do echo result: $c $b $a; done

10. When the command echo $ outputs 1, which of the following statements are true?

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

12. What output will the command seq 10 produce?

13. Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

14. After issuing: function myfunction { echo $1 $2 ; } in Bash, which output does: myfunction A B C Produce?

15. Which of the following commands puts the output of the command date into the shell variable mydate?

16. Topic 2, User Interfaces and Desktops

What is the purpose of the sticky keys feature in X?

17. On a machine running several X servers, how are the different instances of the X11 server identified?

18. What is the purpose of the xhost program?

19. What of the following statements is true regarding a display manager?


 

 

 

Free Comptia A+ 220-902 Exam Questions Test
Practice SK0-004 Comptia Server+ Exam Questions Online

Add a Comment

Your email address will not be published. Required fields are marked *