On Unix-like operating systems, the readlink command prints the value of a symbolic link, or canonical file name.
This page describes the GNU/Linux version of readlink.
Syntax
readlink [OPTION]… FILE
Options
Examples
readlink symbolic-link-name
Displays the full, canonical pathname of the symbolic link symbolic-link-name.
- Syntax
- Options
- Examples
- Related commands
- Linux commands help
Related commands
ln — Create a link, or a symbolic link, to a file or directory.