Back to the learning path

readlink

readlink: read a link Command details
Step 1/1: Where a link points

readlink LINK prints the target stored in a symbolic link. readlink -f follows the whole chain and prints the final full path.

$ readlink current
Fundamentalsreadlink
Where does the link point?
latest is a symbolic link. Use readlink to print its target.
realpathNext lesson:less