Annotated edit history of
readlink(1) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
---- |
|
|
2 |
__NAME__ |
|
|
3 |
|
|
|
4 |
|
|
|
5 |
readlink - display target of symbolic link on standard out- |
|
|
6 |
put |
|
|
7 |
__SYNOPSIS__ |
|
|
8 |
|
|
|
9 |
|
|
|
10 |
readlink [[-fn] file |
|
|
11 |
__DESCRIPTION__ |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
The readlink utility when invoked with the pathname of a |
|
|
15 |
symbolic link as its argument dereferences the symbolic link |
|
|
16 |
and prints the name of target on standard output. If read- |
|
|
17 |
link is invoked with an argument other than the pathname of |
|
|
18 |
a symbolic link, it exits with a non-zero exit code without |
|
|
19 |
printing anything. |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
The following options are available: |
|
|
23 |
-f |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
Using realpath(3), canonicalize by following every sym-link in every component of the given path recursively.Note that the resultant pathname might not exist,-nDo not print a trailing newline character.The readlink utility exits 0 on success or __NOTE__ |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
Debian packages using readlink in maintainer scripts must |
|
|
30 |
depend on debianutils |
|
|
31 |
__SEE ALSO__ |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
readlink(2) realpath(3) |
|
|
35 |
__HISTORY__ |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
The readlink utility first appeared in Open |
|
|
39 |
BSD . |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
BSD August 18, 1997 1 |
|
|
43 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.