Topic 2, Linux Installation and Package Management
Which of the following commands updates the linker cache of shared libraries?
A.
mkcache
B.
soconfig
C.
mkldconfig
D.
lddconfig
E.
ldconfig
ldconfig
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
Answer: swapoff, /sbin/swapoff
Which of the following commands lists the dependencies of a given dpkg package?
A.
apt-cache depends-onpackage
B.
apt-cache dependencies package
C.
apt-cache depends package
D.
apt-cache requires package
apt-cache depends package
Which of the following environment variables overrides or extends the list of directories
holding shared libraries?
A.
LD_LOAD_PATH
B.
LD_LIB_PATH
C.
LD_LIBRARY_PATH
D.
LD_SHARE_PATH
E.
LD_RUN_PATH
LD_LIBRARY_PATH
To prevent users from being able to fill up the / partition, the ____________ directory
should be on a separate partition if possible because it is world writeable.
Answer: /tmp, tmp
Page 8 out of 49 Pages |
Previous |