Official Bank 0/228

Linux Certified Professional (LCP) (LCP-001) - GAQM Actual Exam Questions

Last updated on April 25, 2026

97% Exam Compliance
228 Total Questions
1
Question

Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Select TWO correct answers)

Select 2
Options
A

FIND

B

ID

C

LABEL

D

NAME

E

UUID

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question

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:

Options
A

foo; bar

B

foo || bar

C

foo && bar

D

foo % bar

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question

Which command line option would you use to restrict the GNU find command to searching a particular number of subdirectories?

Options
A

--max-dirs

B

-dirmax

C

-maxdepth

D

-s

E

-n

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question

In Bash, inserting "1>&2" after a command redirects

Options
A

standard error to standard input

B

standard input to standard error

C

standard output to standard error

D

standard error to standard output

E

standard output to standard input

Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question

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?

Options
A

Run ext2fs ACL.

B

Use a hard link.

C

Use a symbolic link.

D

Use the loopback device.

E

Create a block device offset.

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.