Tuesday 5 July 2022

Top 10 LPI Level 1 102-500 Dumps Questions

LPI Level 1 102-500 Dumps Questions, 102-500 Exam, 102-500 Prep, 102-500 Preparation, LPI Career, LPI Skills, LPI Jobs, LPI Certification, LPI Tutorial and Materials

Recently we updated 102-500 dumps questions for your LPIC-1: Linux Administrator certification. We know that getting LPIC-1: Linux Administrator certification requires you to answer both 101-500 and 102-500 exams. Today, we updated 102-500 dumps questions also to ensure that you can complete the LPIC-1 certification.

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

  • export $VARIABLE
  • export VARIABLE
  • set $VARIABLE
  • set VARIABLE
  • env VARIABLE

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

  • ~/.bashconf
  • ~/.bashrc
  • ~/.bashdefaults
  • ~/.bash_etc
  • ~/.bash_profile

3. Which command allows you to make a shell variable visible to subshells?

  • export $VARIABLE
  • export VARIABLE
  • set $VARIABLE
  • set VARIABLE
  • env VARIABLE

4. What is the purpose of the file /etc/profile?

  • It contains the welcome message that is displayed after login.
  • It contains security profiles defining which users are allowed to log in.
  • It contains environment variables that are set when a user logs in.
  • It contains default application profiles for users that run an application for the first time.

5. Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)

  • The user issuing the command must be in the group script.
  • The script file must be found in the $PAT
  • The script file must have the executable permission bit set.
  • The script must begin with a shebang-line (#!) that points to the correct interpreter.
  • The file system on which the script resides must be mounted with the option scripts.

6. 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?

  • LIMIT
  • FROM
  • WHERE
  • IF

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

  • /etc/bashrc
  • /etc/profile
  • ~/.bash_profile
  • /etc/.bashrc

8. Which of the following commands lists all defined variables and functions within Bash?

  • env
  • set
  • env -a
  • echo $ENV

9. When the command echo $$ outputs 12942, what is the meaning of 12942?

  • It is the process ID of the echo command.
  • It is the process ID of the current shell.
  • It is the process ID of the last command executed.
  • It is the process ID of the last command which has been placed in the background.

10. How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?

  • unset -v FOOBAR;./myscript
  • set -a FOOBAR="";./myscript
  • env -u FOOBA
  • /myscript
  • env -i FOOBA
  • /myscript

Source: dumpsbase.com

Related Posts

0 comments:

Post a Comment