Winter Sale - Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dpm65

Hot Vendors
Note! The LCP-001 Exam is no longer available.

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

Questions 4

How can you turn off the group quota in /pub?

Options:

A.

quotaoff /pub

B.

quotaoff -gv /pub

C.

quotadown /pub

D.

rm /pub/quota.group

Buy Now
Questions 5

Which command will list all the files installed from the RPM package file named, vorbis-tools-1.1.i386. rpm?

Options:

A.

rpm -qf vorbis-tools-1.1.i386.rpm

B.

rpm- F vorbis-tools-1.1.i386.rpm

C.

rpm -pf vorbis-tools-1.1.i386.rpm

D.

rpm -ql vorbis-tools-1.1.i386.rpm

E.

rpm -qlp vorbis-tools-1.1.i386.rpm

Buy Now
Questions 6

Pressing the Ctrl-C combination on the keyboard while a command is executing in the foreground sends which of following signal codes?

Options:

A.

1 (SIGHUP)

B.

2 (SIGINT)

C.

3 (SIGQUIT)

D.

9 (SIGKILL)

E.

15 (SIGTEPM)

Buy Now
Questions 7

Which RPM command will output the name of the package which installed the file /etc/exports?

Options:

A.

rpm -F /etc/exports

B.

rpm -qf /etc/exports

C.

rpm -Kl /etc/exports

D.

rpm -qp /etc/exports

E.

rpm -ql /etc/exports

Buy Now
Questions 8

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.

Buy Now
Questions 9

You are having problems with a particular font and you want to see if its directory is included in XF86Config. Which section contains this information?

Options:

A.

Paths

B.

Fonts

C.

Files

D.

Graphics

Buy Now
Questions 10

Which of the following Linux filesystems pre-allocates a fixed number of inodes at the filesystem's make/creation time, and does NOT generate them as needed?

Options:

A.

ext3

B.

jfs

C.

reiserfs

D.

xfs

Buy Now
Questions 11

Identify the proper device for the third partition, on the second hard disk, on the first IDE controller on a PC system.

Options:

A.

/dev/hdb3

B.

/dev/hd1b3

C.

/dev/hdc1b3

D.

/dev/hdc1d2p3

Buy Now
Questions 12

You wish to kill a process with a PID of 123. Select the command which will allow the process to "clean up" before exiting.

Options:

A.

kill -1 123

B.

kill -9 123

C.

kill -15 123

D.

kill -17 123

Buy Now
Questions 13

The command cat /proc/dma will show you what?

Options:

A.

Whether DMA is enabled

B.

Which DMA channels are in use

C.

Which DMA mode is in use

D.

General information about DMA on the machine

Buy Now
Questions 14

What can the tee command be used for?

Options:

A.

Print the contents of a file in reverse order

B.

Use the output of one command as arguments to another

C.

Add line numbers to the output of a command

D.

Pipe the output of one command into the input of another

E.

Send a command's output to stdout and a to file at the same time

Buy Now
Questions 15

Which program finds only files that are in your PATH?

Options:

Buy Now
Questions 16

Which of these commands allows you to use shared libraries that are in /usr/local/lib?

Options:

A.

export LD_PRELOAD=/usr/local/lib

B.

export LD_LIBRARY_PATH=/usr/local/lib

C.

ldconfig /usr/local/lib

D.

ldd /usr/local/lib

Buy Now
Questions 17

What command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?

Options:

A.

cut -d: -fl,3 /etc/passwd

B.

chop -c l,3 /etc/passwd

C.

tac l-3 /etc/passwd

D.

fmt -u /etc/passwd

Buy Now
Questions 18

During a system boot cycle, what is the program that is run after the BIOS completes its tasks?

Options:

A.

The bootloader

B.

The inetd program

C.

The init program

D.

The kernel

Buy Now
Questions 19

What is the purpose of the & character at the end of a command line?

Options:

A.

It causes standard error to be unbuffered.

B.

It causes the command to be run in the background of the current shell.

C.

It puts the command under the job control facilities of the current shell.

D.

It causes the command to be run as a child of the initial login shell of the user.

Buy Now
Questions 20

Which chown command will change the ownership to dave and the group to staff on a file named data.txt?

Options:

A.

chown dave/staff data.txt

B.

chown -u dave -g staff data.txt

C.

chown -user dave -group staff data.txt

D.

chown dave:staff data.txt

Buy Now
Questions 21

Which of the following commands enables the setuid (suid) permission on the executable called /bin/foo?

Options:

A.

chmod 1755 /bin/foo

B.

chmod 4755 /bin/foo

C.

chown u-s /bin/foo

D.

chmod 755+s /bin/foo

Buy Now
Questions 22

While editing a file in vi, the file changes due to another process. Without exiting vi, how can the file be reopened for editing with the new content?

Options:

A.

:r

B.

:n

C.

:w

D.

:e

Buy Now
Questions 23

In the vi editor, which of the following commands will copy the current line into the vi buffer?

Options:

A.

c

B.

cc

C.

1c

D.

yy

E.

1y

Buy Now
Questions 24

Which program updates the database that is used by the locate command?

Options:

Buy Now
Questions 25

Which of the following explanations are valid reasons to run a command in the background of your shell?

Options:

A.

The command does not need to execute immediately.

B.

The command has to run immediately but the user needs to log out.

C.

The system is being shut down and the command needs to restart execution immediately after the reboot.

D.

The command can run at a lower priority than normal commands run on the command line.

Buy Now
Questions 26

Which Debian package system command will list all partially installed packages and suggest how to get them correctly installed?

Options:

A.

dpkg -C

B.

apt-get -u

C.

dpkg -Dh

D.

dpkg -l

E.

apt-get -y

Buy Now
Questions 27

Where can lilo place boot code?

Options:

A.

The boot ROM

B.

The boot RAM

C.

The /boot partition

D.

The MBR on a hard drive

Buy Now
Questions 28

What command changes the priority of the process running with process id of 12345 to the highest priority?

Options:

A.

/usr/bin/renice +20 1234

B.

/usr/bin/renice -20 12345

C.

/bin/setpriority +20 12345

D.

/bin/setpriority -20 12345

Buy Now
Questions 29

Which of the following is very important when installing from source code (Check TWO that apply)?

Options:

A.

Read all documentation included with the source code.

B.

Reboot after installing all programs.

C.

Manually check to see if all dependencies are met.

D.

Use rpm or dpkg go verify the installation.

E.

Do not install binaries as the root user.

Buy Now
Questions 30

You want to save vi changes to the file myfile with :w!, but vi complains it can not write to the file. Therefore, you want to check the write permissions on the file. To do this without leaving vi, you type:

Options:

A.

:!ls -l myfile

B.

:\ls -l myfile

C.

esc :ls -l myfile

D.

:?ls -l myfile

Buy Now
Questions 31

What tool can you use to print shared library dependencies?

Options:

A.

ldconfig

B.

ldd

C.

libdep

D.

libpath

E.

ldev

Buy Now
Questions 32

What key sequence will suspend the current process and return you to a shell prompt?

Options:

A.

Ctrl-z

B.

Ctrl-c

C.

Ctrl-x

D.

Ctrl-d

Buy Now
Questions 33

Which of the following would do the same as the command cat < file1.txt > file2.txt?

Options:

A.

cat < file1.txt file2.txt

B.

cat file1.txt >file2.txt

C.

cat

D.

cat file1.txt | file2.txt

E.

cp file1.txt>file2.txt

Buy Now
Questions 34

You need to install a fax server. Which type of fax/modem should you install to insure Linux compatibility?

Options:

A.

External Serial Fax/modem

B.

External USB Fax/modem

C.

Internal ISA Fax/modem

D.

Internal PCI Fax/modem

Buy Now
Questions 35

Which of the following commands will print the first few lines of a text file to the shell?

Options:

A.

cat -n 10 filename

B.

dump -n 10 filename

C.

head -n 10 filename

D.

print -n 10 filename

Buy Now
Questions 36

What umask value will result in the default access permissions of 600 (rw-------) for files and 700

(rwx ------) for directories? (Provide only the numerical umask value)

Options:

Buy Now
Questions 37

What option, when passed to the yum command, will update the entire system? (Specify ONLY the option name with no additional parameters)

Options:

Buy Now
Questions 38

The priority of any process can range from -20 to ________ . (Provide only the numerical value)

Options:

Buy Now
Questions 39

Once a shell variable has been created, how can the variable be removed from the environment?

Options:

A.

VAR=

B.

set -d VAR

C.

set -u VAR

D.

unset VAR

Buy Now
Questions 40

The/etc/ ________ file lists currently mounted devices.

Options:

Buy Now
Questions 41

Which of the following commands can be used to instruct the init process to switch runlevels?

(Choose TWO correct answers)

Options:

A.

telinit

B.

initctl

C.

init

D.

reinit

E.

runlevel

Buy Now
Questions 42

Which command is used to dump files in octal format?

Options:

A.

od

B.

octdump

C.

dumpoct

D.

cat -o

Buy Now
Questions 43

You want to search the file myfile for all occurances of string containing at least five characters, where character number 2 and 5 are 'a' and character number 3 is NOT 'b'. Which command would you use?

Options:

A.

grep a*^b*a myfile

B.

grep .a[^b].a myfile

C.

grep .[a].*.[a] myfile

D.

grep .a*^b..a myfile

Buy Now
Exam Code: LCP-001
Exam Name: Linux Certified Professional (LCP) Powered by LPI
Last Update: Mar 21, 2024
Questions: 289
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 21 Nov 2024