Lpi 102-500 LPI Level 1 Online Training
Lpi 102-500 Online Training
The questions for 102-500 were last updated at Jun 21,2025.
- Exam Code: 102-500
- Exam Name: LPI Level 1
- Certification Provider: Lpi
- Latest update: Jun 21,2025
Which of the following configuration files should be modified to set default shell variables for all users?
- A . /etc/bashrc
- B . /etc/profile
- C . ~/.bash_profile
- D . /etc/.bashrc
Which of the following is the best way to list all defined shell variables?
- A . env
- B . set
- C . env -a
- D . echo $ENV
Which command allows you to make a shell variable visible to subshells?
- A . export $VARIABLE
- B . export VARIABLE
- C . set $VARIABLE
- D . set VARIABLE
- E . env VARIABLE
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?
- A . LIMIT
- B . FROM
- C . WHERE
- D . IF
What benefit does an alias in bash provide?
- A . It provides faster lookups for commands in the system directory.
- B . It creates a local copy of a file from another directory.
- C . It hides what command you are running from others.
- D . It allows a string to be substituted for the first word of a simple command.
What benefit does an alias in bash provide?
- A . It provides faster lookups for commands in the system directory.
- B . It creates a local copy of a file from another directory.
- C . It hides what command you are running from others.
- D . It allows a string to be substituted for the first word of a simple command.
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:
- A . The file at that location was used to make the script.
- B . This script provides identical functionality as the file at that location.
- C . This script will self-extract into a file at that location.
- D . The program at that location will be used to process the script.
What keyword is missing from this code sample of a shell script?
____ i in *.txt; do
echo $i
done
- A . for
- B . loop
- C . until
- D . while
What word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)
Which file used by XDM specifies the default wallpaper?
- A . /etc/X11/xdm/Xsetup
- B . /etc/X11/xdm.conf
- C . /etc/X11/xdm/Defaults
- D . /etc/X11/defaults.conf