aboutsummaryrefslogtreecommitdiffstats
s6-portable-utils: the s6-linkname program

s6-portable-utils
Software
skarnet.org

The s6-linkname program

s6-linkname gives the content of a symbolic link or resolves a path.

Interface

     s6-linkname [ -f ] [ -n ] path
  • If path is a symbolic link, s6-linkname prints its content then exits 0.
  • Else it prints an error message and exits 111.

Options

  • -f : s6-linkname fully resolves path then prints the result on stdout. path does not have to be a symbolic link.
  • -n : do not print a newline after the result.