Free 101-500 Practice Test Questions and Answers (2026) | Cert Empire Practice Questions
Free preview: 20 questions.
LPI 101 500
Q: 1
When piping the output of find to the xargs command, what option to find is useful if the filenames
have spaces in them?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 2
What is the default action of the split command on an input file?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 3
Which of the following commands can be used to search for the executable file foo when it has been
placed in a directory not included in $PATH?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 4
From a Bash shell, which of the following commands directly executes the instruction from the file
/usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 5
Which of the following information is stored within the BIOS? (Choose TWO correct answers.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 6
Which of the following commands kills the process with the PID 123 but allows the process to "clean
up" before exiting?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 7
Which type of filesystem is created by mkfs when it is executed with the block device name only and
without any additional parameters?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 8
Which of the following commands prints a list of usernames (first column) and their primary group
(fourth column) from the /etc/passwd file?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 9
Which shell command is used to continue background execution of a suspended command?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 10
Which of the following commands instructs SysVinit to reload its configuration file?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 11
Which of the following commands will load a kernel module along with any required dependency
modules?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 12
When is the content of the kernel ring buffer reset? (Choose two.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 13
Which of the following commands changes the ownership of file.txt to the user dan and the group
staff?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 14
In Bash, inserting 2>&1 after a command redirects:
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 15
A user accidentally created the subdirectory \dir in his home directory. Which of the following
commands will remove that directory?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 16
CORRECT TEXT Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 17
CORRECT TEXT The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 18
CORRECT TEXT What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 19
CORRECT TEXT Which file from the /proc file system contains a list of all currently mounted devices? (Specify ONLY the command without any path or parameters.)
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 20
CORRECT TEXT Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
Your Answer
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Question 1 of 20