Lpi 101-500 Practice Exams
Last updated on Oct 22,2026- Exam Code: 101-500
- Exam Name: LPI Linux Administrator - 101 (LPIC-1 101)
- Certification Provider: Lpi
- Latest update: Oct 22,2026
When piping the output of find to the xargs command, what option to find is useful if the filenames have spaces in them?
- A . Crep-space
- B . Cprint0
- C . Cnospace
- D . Cignore-space
Which of the following directories on a 64 bit Linux system typically contain shared libraries? (Choose two.)
- A . ~/.lib64/
- B . /usr/lib64/
- C . /var/lib64/
- D . /lib64/
- E . /opt/lib64/
CORRECT TEXT
In which directory must definition files be placed to add additional repositories to yum?
Which of the following commands will display the inode usage of each mounted filesystem?
- A . du Ci
- B . df Ci
- C . lsfs Ci
- D . printfs Ci
Which of the following commands will display the inode usage of each mounted filesystem?
- A . du Ci
- B . df Ci
- C . lsfs Ci
- D . printfs Ci
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
- A . echo “${PWD}”
- B . echo “${WD}”
- C . pwd
- D . printwd
- E . echo “${pwd}”
Which of the following shell commands makes the already defined variable TEST visible to new child processes? (Choose two.)
- A . visible TEST
- B . declare +x TEST
- C . declare Cx TEST
- D . export TEST
- E . export Cv TEST
Given the following input stream:
txt1.txt
atxt.txt
txtB.txt
Which of the following regular expressions turns this input stream into the following output stream?
txt1.bak.txt
atxt.bak.txt
txtB.bak.txt
- A . s/^.txt/.bak/
- B . s/txt/bak.txt/
- C . s/txt$/bak.txt/
- D . s/^txt$/.bak^/
- E . s/[.txt]/.bak$1/
Given the following input stream:
txt1.txt
atxt.txt
txtB.txt
Which of the following regular expressions turns this input stream into the following output stream?
txt1.bak.txt
atxt.bak.txt
txtB.bak.txt
- A . s/^.txt/.bak/
- B . s/txt/bak.txt/
- C . s/txt$/bak.txt/
- D . s/^txt$/.bak^/
- E . s/[.txt]/.bak$1/
Which of the following commands updates the linker cache of shared libraries?
- A . mkcache
- B . soconfig
- C . mkldconfig
- D . lddconfig
- E . ldconfig