Updated: 2020/Jul/29


REALPATH(1)                 General Commands Manual                REALPATH(1)

NAME
     realpath - return resolved physical path

SYNOPSIS
     realpath [-q] [path ...]

DESCRIPTION
     The realpath utility uses the realpath(3) function to resolve all
     symbolic links, extra `/' characters and references to /./ and /../ in
     path.  If path is absent, the current working directory (`.') is assumed.

     If -q is specified, warnings will not be printed when realpath(3) fails.

EXIT STATUS
     The realpath utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
     realpath(3)

HISTORY
     The realpath utility first appeared in FreeBSD 4.3 and was imported into
     NetBSD 10.

NetBSD 9.99                    February 2, 2020                    NetBSD 9.99