Query: readlink
OS: redhat
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
READLINK(1) BSD General Commands Manual READLINK(1)NAMEreadlink -- display target of symbolic link on standard outputSYNOPSISreadlink [-fn] fileDESCRIPTIONThe 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 readlink is invoked with an argument other than the pathname of a symbolic link, it exits with a non-zero exit code without printing anything. The following options are available: -f Using realpath(3), canonicalize by following every symlink in every component of the given path recursively. Note that the resultant pathname might not exist, -n Do not print a trailing newline character. The readlink utility exits 0 on success or >0 if an error occurred.SEE ALSOreadlink(2) realpath(3)HISTORYThe readlink utility first appeared in OpenBSD.BSDAugust 18, 1997 BSD
Related Man Pages |
---|
readlink(1) - linux |
readlink(2) - opendarwin |
readlink(1) - minix |
readlink(1) - v7 |
readlink(1) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
readlink command |
Readlink and get the pull path of the target |
Convert Relative path to Absolute path, without changing directory to the file location. |