mirror of https://github.com/mkerrisk/man-pages
ldd.1: Minor tweak to 'ldd' output example
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9f5f1b5b8f
commit
3c8acfd73c
28
man1/ldd.1
28
man1/ldd.1
|
@ -20,20 +20,24 @@ ldd \- print shared object dependencies
|
||||||
.B ldd
|
.B ldd
|
||||||
prints the shared objects (shared libraries) required by each program or
|
prints the shared objects (shared libraries) required by each program or
|
||||||
shared object specified on the command line.
|
shared object specified on the command line.
|
||||||
An example of its use and output is the following:
|
An example of its use and output
|
||||||
|
(using
|
||||||
|
.BR sed (1)
|
||||||
|
to trim leading white space for readability in this page)
|
||||||
|
is the following:
|
||||||
.PP
|
.PP
|
||||||
.in +2n
|
.in +4n
|
||||||
.EX
|
.EX
|
||||||
$ \fBldd /bin/ls\fP
|
$ \fBldd /bin/ls | sed \(aqs/^ */ /\(aq\fP
|
||||||
linux-vdso.so.1 (0x00007ffcc3563000)
|
linux-vdso.so.1 (0x00007ffcc3563000)
|
||||||
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f87e5459000)
|
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f87e5459000)
|
||||||
libcap.so.2 => /lib64/libcap.so.2 (0x00007f87e5254000)
|
libcap.so.2 => /lib64/libcap.so.2 (0x00007f87e5254000)
|
||||||
libc.so.6 => /lib64/libc.so.6 (0x00007f87e4e92000)
|
libc.so.6 => /lib64/libc.so.6 (0x00007f87e4e92000)
|
||||||
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f87e4c22000)
|
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f87e4c22000)
|
||||||
libdl.so.2 => /lib64/libdl.so.2 (0x00007f87e4a1e000)
|
libdl.so.2 => /lib64/libdl.so.2 (0x00007f87e4a1e000)
|
||||||
/lib64/ld-linux-x86-64.so.2 (0x00005574bf12e000)
|
/lib64/ld-linux-x86-64.so.2 (0x00005574bf12e000)
|
||||||
libattr.so.1 => /lib64/libattr.so.1 (0x00007f87e4817000)
|
libattr.so.1 => /lib64/libattr.so.1 (0x00007f87e4817000)
|
||||||
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f87e45fa000)
|
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f87e45fa000)
|
||||||
.EE
|
.EE
|
||||||
.in
|
.in
|
||||||
.PP
|
.PP
|
||||||
|
|
Loading…
Reference in New Issue