Ensurepass

QUESTION 221 CORRECT TEXT

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

Answer: update


QUESTION
222 CORRECT TEXT

Which command will disable paging and swapping on a device? (Provide only the command with no additional options or parameters)

Answer:

swapoff

/sbin/swapoff


QUESTION
223 CORRECT TEXT

The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.

Answer: reconfigure


QUESTION
224 CORRECT TEXT

A. administrator has issued the following command: grub-install –root-directory=/custom-grub /dev/sda In which directory will the new menu.lst file be found? (Provide the full directory path only without

the filename)

Answer:

/custom-grub/boot/grub

/custom-grub/boot/grub/


QUESTION
225 CORRECT TEXT

What command will print the shared libraries for the file /usr/lib/libpng12.so? (Provide the full command with library name but without any other options or parameters)

Answer:

ldd/usr/lib/libpng12.so

/usr/bin/ldd/usr/lib/libpng12.so


QUESTION
226

After modifying LILO’s configuration file, what command should you run for the changes to take effect?

A. kill -HUP ‘pidof lilo’

B. lilo-install

C. lilo

D. reboot

Answer: C


QUESTION
227 CORRECT TEXT

Which command is used to enable disk quotas on a particular filesystem? (Provide only the command, with no options or parameters)

Answer:

quotaon

/sbin/quotaon


QUESTION
228 CORRECT TEXT

You’ve downloaded an image file of a boot floppy disk to your hard drive. What is the best utility to create a boot floppy from the disk image? (Specify a single command without options.)

Answer:

dd

/bin/dd


QUESTION
229 CORRECT TEXT

In which directory must definition files be placed to add additional repositories to yum?

Answer:

/etc/yum.repos.d

/etc/yum.repos.d/

yum.repos.d

yum.repos.d/


QUESTION
230

The file myfile.txt contains the following data:

joe:x:100:100:Joe:/home/joe:/bin/bash

mike:x:101:101:Mike:/home/mike:/bin/sh kevin:x:102:102:Kevin:/home/kevin:/bin/sh

matt:x:103:103:Matt:/home/matt:/bin/sh

What output will be displayed on the screen when the following command is executed:

grep -o home myfile.txt

A. No output will be displayed on the screen

B. home home home home

C. /home/joe /home/mike /home/Kevin /home/matt

D. joe mike Kevin matt

Answer: B

Download Latest LPI 117-101 DUMPS Real Free Tests , help you to pass exam 100%.

Comments are closed.