Difference between revisions of "Readlink"

From wikieduonline
Jump to navigation Jump to search
 
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 ==

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: