Co robi LDCONFIG użycie. Konsola usr/lib , and /lib ; update links and cache where necessary.

Czy przydatne?

Polecenie ldconfig

Wykonanie, użycie: System administration command. Examine the libraries in the given directories, /etc/ld.so.conf, /usr/lib, and /lib; update links and cache where necessary. Usually run in startup files or after the installation of new shared libraries

Opcje wykonania ldconfig w konsoli

-C filename

Use filename instead of /etc/ld.so.cache

-ffilename

Use filename instead of /etc/ld.so.conf

-l

Library mode. Expect libraries as arguments, not directories. Manually link specified libraries.

-n

Suppress examination of /usr/lib and /lib and reading of /etc/ld.so.conf; do not cache.

-N

Do not cache; only link.

-p

Print all directories and candidate libraries in the cache. Used without arguments.

-v

Verbose mode. Include version number, and announce each directory as it is scanned and links as they are created.

-X

Do not link; only rebuild cache.

Przykłady ldconfig działanie w Słownik polecenie L

Przykład LDCONFIG użycie :
Jak użyć Consult /var/run/utmp for user's login name. If found, print it; otherwise, exit with an error message co znaczy.
Przykład LDCONFIG użycie :
Jak użyć System administration command. Print the last login times for system accounts . Login information is read from the file /var/log/lastlog krzyżówka.
Przykład LDCONFIG użycie :
Jak użyć of filenames and print matches. Matches include all files that contain pattern unless pattern includes metacharacters, in which case locate requires an exact match. *, ?, [, and ] are treated co to jest.
Przykład LDCONFIG użycie :
Jak użyć TCP/IP command. Add entries to the system log (via syslogd ). If no message is given on the command line, standard input is logged słownik.
Przykład LDCONFIG użycie :
Jak użyć spool queue for status of print jobs. For each job, display username, rank in the queue, filenames, job number, and total file size (in bytes). We document the CUPS printing system here; other czym jest.