commands.sh

readlink

all

Follow symlinks and get symlink information.

More info →

Options (1)

-f, --canonicalizeboolean

Get the absolute path to a file

Example: readlink {{[-f|--canonicalize]}} {{path/to/file}}

Examples (2)

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
made by @shridhargupta | data from tldr-pages