mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-30 17:33:50 +08:00
373 B
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}}