
Lpi Level 1 Exam 101(with rpm) - 117-101 Exam Questions
QUESTION NO: 1
CORRECT TEXT
Which environment variable you have to setup to use shared libraries that are not in the standard search path?
CORRECT TEXT
Which environment variable you have to setup to use shared libraries that are not in the standard search path?
Correct Answer:
LD
_LIBRARY_PATH
_LIBRARY_PATH
QUESTION NO: 2
George is planning a partition scheme for a new Linux installation. Which THREE directories should he consider for separate partitions? (Select three)
George is planning a partition scheme for a new Linux installation. Which THREE directories should he consider for separate partitions? (Select three)
Correct Answer: A,C,D
QUESTION NO: 3
You have two shell scripts, foo and bar. You wish to have bar execute if foo returns an exit status of 0 Select the correct command:
You have two shell scripts, foo and bar. You wish to have bar execute if foo returns an exit status of 0 Select the correct command:
Correct Answer: C
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 4
You have run out of disk space on a partition. Which of the following would be an easy way to move data to a new partition without reconfiguring the path to the data in existing applications?
You have run out of disk space on a partition. Which of the following would be an easy way to move data to a new partition without reconfiguring the path to the data in existing applications?
Correct Answer: C
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 5
CORRECT TEXT
Which command displays the contents of the Kernel Ring Buffer on the command line? (Provide only the command name without any options or path information) Answer:
CORRECT TEXT
Which command displays the contents of the Kernel Ring Buffer on the command line? (Provide only the command name without any options or path information) Answer:
Correct Answer:
dmesg
/bin/dmesg
/bin/dmesg
QUESTION NO: 6
When you are looking for brief information about a program in your PATH with its associated man pages, you would use ...
When you are looking for brief information about a program in your PATH with its associated man pages, you would use ...
Correct Answer: C
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 7
Which shell built-in command can be used to create a shortcut or pseudonym for a longer command?
Assume a modern bourne-like shell, such as bash.
Which shell built-in command can be used to create a shortcut or pseudonym for a longer command?
Assume a modern bourne-like shell, such as bash.
Correct Answer: E
QUESTION NO: 8
You enter the command date +%M. Wat does the output show you?
You enter the command date +%M. Wat does the output show you?
Correct Answer: D
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 9
Which command will print out the attributes of the file foobar?
Which command will print out the attributes of the file foobar?
Correct Answer: A
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 10
CORRECT TEXT
Upon booting one of your Linux boxes, you notice a message scrolling by that does not look right, but it goes so fast, you do not have a chance to read it. What command could you use to view that message after the boot process completes?
CORRECT TEXT
Upon booting one of your Linux boxes, you notice a message scrolling by that does not look right, but it goes so fast, you do not have a chance to read it. What command could you use to view that message after the boot process completes?
Correct Answer:
dmesg
QUESTION NO: 11
In Bash, inserting "1>&2" after a command redirects
In Bash, inserting "1>&2" after a command redirects
Correct Answer: B
QUESTION NO: 12
Which of the following programs is typically used to query installed debian packages? (Please select TWO that apply)
Which of the following programs is typically used to query installed debian packages? (Please select TWO that apply)
Correct Answer: A,D
QUESTION NO: 13
What command would execute cmd1 followed by cmd2, regardless of the exit status of cmd1?
What command would execute cmd1 followed by cmd2, regardless of the exit status of cmd1?
Correct Answer: C




