GNU/Linux |
CentOS 2.1AS(Slurm) |
|
![]() |
readlink(1) |
![]() |
readlink − print contents of symbolic link
readlink file
If file is a symbolic link, print its contents (what it links to), and exit successfully. Exit with a failure otherwise.
On systems that do not support symbolic links, readlink will always fail.
readlink accepts the following additional options:
--help |
Print help message and exit. |
--version
Print version information and exit.
readlink(2)
![]() |
readlink(1) | ![]() |