
readlink | 375
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-n, --notes
Display the NOTE segment, if any.
-r, --relocs
Display the relocation segment, if any.
-s, --symbols, --syms
Display entries in symbol table sections, if any.
-S, --section-headers, --sections
Display the section headers, if any.
-u, --unwind
Display the unwind section, if any (currently applies only to
IA64 ELF files).
-v, --version
Display version information and exit.
-V, --version-info
Display the version sections, if any.
-w[option], --debug-dump[=option]
Display the debug sections. If specified with an option, display
only that section. The options shown here in parentheses are
for -w; the words preceding them are for --debug-dump. The
options are abbrev (a), frames (f), frames-interp (F), info (i),
line (l), loc (o), macro (m), pub-names (p), ranges (r) and str
(s).
-W, --wide
Don’t break output lines at 80 columns. The default is to
break them. Useful for wide terminals.
-x num, --hex-dump=num
Display a hexadecimal dump of the section number.
readlink
readlink file
readlink option
Print the contents of the symbolic link file—that is, the name of the
file to which the link points.
Options
-f, --canonicalize
Canonicalize by recursively following symbolic links.
--help
Print usage information and exit.
-n, --no-newline
Do not output a trailing newline.
-q, --quiet ...