LPIC-1 Exam 101 (101-500-2) - Linux Professional Institute Actual Exam Questions
Last updated on May 13, 2026
Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)
esc ZZ
ctrl :w!
esc zz
esc :wq!
ctrl XX
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
Which of the following commands is used to change options and positional parameters for a running Bash?
history
set
bashconf
setsh
envsetup
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
The command is SetUID and it will be executed with the effective rights of the owner.
The command will be executed with the effective rights of the group instead of the owner.
The execute flag is not set for the owner. Therefore the SetUID flag is ignored.
The command will be executed with the effective rights of the owner and group.
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
When given the following command line. echo "foo bar" | tee bar | cat Which of the following output is created?
cat
foo bar
tee bar
bar
foo
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?
-dirmax
-maxdepth
-maxlevels
-n
-s
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
Finish Practice?
Are you sure you want to finish? This will end your practice session.