Files

373 B

readlink

Follow symlinks and get symlink information. More information: https://www.gnu.org/software/coreutils/manual/html_node/readlink-invocation.html.

  • Print the target of a symbolic link to a file or directory:

readlink {{path/to/symlink}}

  • Get the absolute path to a file or directory:

readlink {{[-f|--canonicalize]}} {{path/to/file_or_directory}}