Official Bank 0/206

LPIC-1 Exam 101 (101-500-2) - Linux Professional Institute Actual Exam Questions

Last updated on May 13, 2026

97% Exam Compliance
206 Total Questions
1
Question

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)

Select 2
Options
A

esc ZZ

B

ctrl :w!

C

esc zz

D

esc :wq!

E

ctrl XX

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question

Which of the following commands is used to change options and positional parameters for a running Bash?

Options
A

history

B

set

C

bashconf

D

setsh

E

envsetup

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question

What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?

Options
A

The command is SetUID and it will be executed with the effective rights of the owner.

B

The command will be executed with the effective rights of the group instead of the owner.

C

The execute flag is not set for the owner. Therefore the SetUID flag is ignored.

D

The command will be executed with the effective rights of the owner and group.

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question

When given the following command line. echo "foo bar" | tee bar | cat Which of the following output is created?

Options
A

cat

B

foo bar

C

tee bar

D

bar

E

foo

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question

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?

Options
A

-dirmax

B

-maxdepth

C

-maxlevels

D

-n

E

-s

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.