Difference between revisions of "Readlink"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<code>readlink, readlinkat</code> - read value of a [[symbolic link]] | <code>readlink, readlinkat</code> - read value of a [[symbolic link]] | ||
* https://man7.org/linux/man-pages/man2/readlink.2.html | * https://man7.org/linux/man-pages/man2/readlink.2.html | ||
+ | |||
+ | [[dirname]] -- "$( readlink -f -- "$0"; )"; | ||
== Related == | == Related == | ||
− | * <code>[[ | + | * <code>[[basename]]</code> |
− | |||
== See also == | == See also == |
Latest revision as of 19:07, 20 June 2022
readlink, readlinkat
- read value of a symbolic link
dirname -- "$( readlink -f -- "$0"; )";
Related[edit]
See also[edit]
Advertising: