Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

LCP-001 Premium Exam Questions

Page: 8 / 11
Total 289 questions

Linux Certified Professional (LCP) Powered by LPI Questions and Answers

Question 29

You are the system administrator for a consulting firm where several people use Linux as their desktop operating system. One of your users has installed a commercial publishing program that works under X on a variety of UNIX and Linux platforms. The user made a series of configuration changes regarding the initial window size, location and color. Now, he is having difficulty undoing these changes and is asking for your help. In which file would you think you would most likely find the configuration settings you are seeking to change?

Options:

A.

~/.xinitrc

B.

~/.xconfig

C.

~/.Xdefaults

D.

~/.XF86Config

E.

/etc/X11/XF86Config

Question 30

What does the following command do? cat '$TEST'

Options:

A.

Displays a bash syntax error message.

B.

Displays the contents of the file named $TEST if it exists.

C.

Waits for the user to enter text and then echos the text back.

D.

Displays the contents of the file named inside the back quotes.

E.

Displays the contents of the named by the environment variable TEST.

Question 31

You are formatting a single hard disk for a Linux install. What is the maximum number of primary partitions you can create?

Options:

A.

0

B.

1

C.

2

D.

3

E.

4

F.

5

Question 32

In order to append the output of ls to a file called bazz, which of the following command lines would you use?

Options:

A.

ls > bazz

B.

ls >& bazz

C.

ls &> bazz

D.

ls >> bazz

Page: 8 / 11
Total 289 questions