LPI 102-500 Practice Test - Questions Answers, Page 3

List of questions
Question 21

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

Which directory in /etc is used to keep a sample copy of files and directories for when a new user has a home directory created? (Please provide the full path)
Question 23

Which of the following configuration files should be modified to set default shell variables for all users?
Question 24

Which of the following is the best way to list all defined shell variables?
Question 25

Which command allows you to make a shell variable visible to subshells?
Question 26

Which of the following words is used to restrict the records that are returned from a SELECT query based on a supplied criteria for the values in the records?
Question 27

What benefit does an alias in bash provide?
Question 28

You are looking into a new script you received from your senior administrator. In the very first line you notice a #! followed by a file path. This indicates that:
Question 29

What keyword is missing from this code sample of a shell script?
____ i in *.txt; do echo $i done
Topic 2, User Interfaces and Desktops
Question 30

Which file used by XDM specifies the default wallpaper?
Question