Ensurepass

QUESTION 171

Select the line that best represents what permissions the /etc/passwd file should have

A. -rw——- 1 root root 531 Apr 3 12:36 /etc/passwd

B. -rw-r–r– 1 root root 531 Apr 3 12:36 /etc/passwd

C. -rw-r–r– 1 1 1 531 Apr 3 12:36 /etc/passwd

D. all answers listed are not correct

E. all answers listed are correct

Answer: B


QUESTION
172

What does the command mount -a do?

A. It mounts the floppy disk for all users

B. It shows all mounted file systems

C. It opens /etc/fstab to edit

D. It mounts all file systems listed in /etc/fstab

Answer: D


QUESTION
173

You are using quota on your system. How can you see disk quota details?

A. repquota

B. quota-l

C. quota

D. quotacheck

E. quota –list

Answer: A


QUESTION
174

What command should be invoked to give the user sally read and write, but not execute, access to the file strategy.txt using Extended ACL entries?

A. setfacl -setperm sally:rw strategy.txt

B. setfacl -m user::sally+rw strategy.txt

C. setfacl -m user:sally:rw strategy.txt

D. setfacl -setperm user:sally+rw strategy.txt

Answer: C


QUESTION
175

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

A. /dev/hdb3

B. /dev/hdlb3

C. /dev/hdclb3

D. /dev/hdcld2p3

Answer: A


QUESTION
176

Which of the following commands will print the inode usage on each mounted filesystem?

A. du -i

B. df -i

C. lsfs -i

D. printfs -i

Answer: B


QUESTION
177 CORRECT TEXT

Which program finds only files that are in your PATH?

Answer: which


QUESTION
178

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

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

Answer: C


QUESTION
179

Which file is used by ld.so to find libraries quickly without actually having to search the directories in its library path?

A. /etc/ld.so.cache

B. /etc/ld.so.conf

C. /etc/ld.so

D. /var/ld/cache

E. /var/.cache

Answer: A


QUESTION
180

You want to preview where the package file, apache-xml.i386.rpm, will install its files before installing it. What command do you issue?

A. rpm -qp apache-xml.i386.rpm

B. rpm -qv apache-xml.i386.rpm

C. rpm -ql apache-xml.i386.rpm

D. rpm -qpl apache-xml.i386.rpm

Answer: D

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

Comments are closed.