Skip to main content
Linux AdministrationMediumSingle Choice

Linux Administration Question

Statement

Which of the following commands updates the linker cache of shared libraries?

#ldconfig#ld.so.cache#shared libraries#dynamic linker
A

mkcache

B

soconfig

C

mkldconfig

D

lddconfig

E

ldconfig

Correct

Resolution & Explanations

The ldconfig command creates the necessary links and cache (in /etc/ld.so.cache) for the shared libraries found in the directories specified in /etc/ld.so.conf.