Linux Certified Professional (LCP) (LCP-001) - GAQM Actual Exam Questions
Last updated on April 25, 2026
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)
FIND
ID
LABEL
NAME
UUID
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
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:
foo; bar
foo || bar
foo && bar
foo % bar
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
Which command line option would you use to restrict the GNU find command to searching a particular number of subdirectories?
--max-dirs
-dirmax
-maxdepth
-s
-n
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
In Bash, inserting "1>&2" after a command redirects
standard error to standard input
standard input to standard error
standard output to standard error
standard error to standard output
standard output to standard input
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
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?
Run ext2fs ACL.
Use a hard link.
Use a symbolic link.
Use the loopback device.
Create a block device offset.
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.