readlink
Print value of a symbolic link or canonical file name.
Print value of a symbolic link or canonical file name.
readlink [-f|--canonicalize] [-e|--canonicalize-existing] [-m|--canonicalize-missing] [-n|--no-newline] [-q|--quiet] [-s|--silent] [-v|--verbose] [-z|--zero] [-h|--help] [-V|--version] [files]
Print value of a symbolic link or canonical file name.
v(uutils coreutils) 0.10.0
Get the actual file to which the symlink points:
readlink path/to/file
Get the absolute path to a file:
readlink [-f|--canonicalize] path/to/file
The examples are provided by the tldr-pages project <https://tldr.sh> under the CC BY 4.0 License. Please note that, as uutils is a work in progress, some examples might fail.