nerdexam
Linux_Foundation

LFCS · Question #745

Which system administration command you can use to update Id.so.cache after the installation of new shared libraries?

The correct answer is A. Idconfig. The ldconfig command is used to create the necessary links and cache to the most recent shared libraries found in standard directories, ensuring dynamic loaders can find them.

Submitted by saadiq_pk· Apr 18, 2026Essential Commands

Question

Which system administration command you can use to update Id.so.cache after the installation of new shared libraries?

Options

  • AIdconfig
  • BIdd
  • Clibpath
  • Dnewlibs

How the community answered

(38 responses)
  • A
    89% (34)
  • B
    3% (1)
  • C
    3% (1)
  • D
    5% (2)

Why each option

The `ldconfig` command is used to create the necessary links and cache to the most recent shared libraries found in standard directories, ensuring dynamic loaders can find them.

AIdconfigCorrect

The `ldconfig` command inspects standard library directories and the paths specified in `/etc/ld.so.conf` to configure dynamic linker run-time bindings. After installing new shared libraries, `ldconfig` must be run to update the `ld.so.cache` file, which the dynamic linker uses to locate shared libraries efficiently.

BIdd

`ldd` is used to print shared library dependencies of a program, not to update the cache.

Clibpath

`libpath` is not a standard Linux command for managing shared library caches; `LD_LIBRARY_PATH` is an environment variable.

Dnewlibs

`newlibs` is not a standard Linux command for updating shared library caches.

Concept tested: Linux shared library cache management

Source: https://learn.microsoft.com/en-us/windows-server/administration/linux-reference/linux-commands/ldconfig

Topics

#Shared Libraries#ldconfig#Runtime Linker#System Administration

Community Discussion

No community discussion yet for this question.

Full LFCS Practice