CmdID

CmdID / Commands

readlink

With no options, show what symlink points to, return error if not symlink. toybox

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Linux

from the toybox, 0BSD

With no options, show what symlink points to, return error if not symlink. Options for producing canonical paths (all symlinks/./.. resolved):

readlink [-efmnqz] FILE...
-eCanonical path to existing entry (fail if missing)
-fFull path (fail if directory missing)
-mIgnore missing entries, show where it would be
-nNo trailing newline
-qQuiet (no error messages)
-zNUL instead of newline

Several platforms

from tldr-pages, CC BY 4.0

Follow symlinks and get symlink information.

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

readlink path/to/symlinkIdentify

Get the absolute path to a file or directory

readlink --canonicalize path/to/file_or_directoryIdentify