nerdexam
ExamsLX0-103Questions#145
CompTIA

LX0-103 · Question #145

LX0-103 Question #145: Real Exam Question with Answer & Explanation

The correct answer is A: Idconfig. ldconfig updates /etc/ld.so.cache so the dynamic linker can locate newly installed shared libraries at runtime.

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

Explanation

ldconfig updates /etc/ld.so.cache so the dynamic linker can locate newly installed shared libraries at runtime.

Common mistakes.

  • B. ldd prints the shared object dependencies of an existing executable but does not modify or regenerate the dynamic linker cache.
  • C. libpath is not a standard Linux command and plays no role in shared library cache management.
  • D. newlibs is not a valid Linux system administration command and does not exist in standard Linux distributions.

Concept tested. Updating shared library cache with ldconfig

Reference. https://man7.org/linux/man-pages/man8/ldconfig.8.html

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice
Which system administration command you can use to update... | LX0-103 Q#145 Answer | NerdExam