Forrest logo
back to context overview

readlink

List of commands for readlink:

  • readlink:ai:2f4ed Dereference the following symlink bar into its equivalent absolute path: ln -s ../b/../../a/../foo /tmp/a/b/bar
    $ readlink -e /tmp/a/b/bar
    try on your machine
    explain this command
  • readlink:tldr:1852e readlink: Get the absolute path to a file.
    $ readlink -f ${filename}
    try on your machine
    explain this command
  • readlink:tldr:e7056 readlink: Get the actual file to which the symlink points.
    $ readlink ${filename}
    try on your machine
    explain this command
back to context overview