Realpath

READLINK(1) - General Commands Manual

Realpath, Readlink

READLINK(1) - General Commands Manual # READLINK(1) - General Commands Manual NAME # readlink - display target of symbolic link on standard output SYNOPSIS # readlink [-fn] file DESCRIPTION # The readlink utility when invoked with the pathname of a symbolic link as its argument dereferences the symbolic link and prints the name of target on standard output. If the -f option is not specified and readlink is invoked with an argument other than the pathname of a symbolic link, it exits with a nonzero exit code without printing anything. ...

REALPATH(1) - General Commands Manual

Readlink, Realpath

REALPATH(1) - General Commands Manual # REALPATH(1) - General Commands Manual NAME # realpath - print the canonicalized absolute pathname SYNOPSIS # realpath [-q] file DESCRIPTION # The realpath utility uses realpath(3) to resolve all symbolic links, extra “/” characters and references to /./ and /../ in file, and prints the absolute pathname on standard output. The options are as follows: -q Do not print errors. EXIT STATUS # The realpath utility exits 0 on success, and >0 if an error occurs. ...