readlink
Reading the systemPackage: coreutils
Resolves a symbolic link, and with -f the whole chain to the real file. It is what says which release a current really points at after a deploy.
What its options do in the lessons
From the same glossary the lessons render under their commands, so the two cannot disagree.
readlink -f- Resolves every symbolic link and prints the real, absolute path.
Lessons that teach it
- Where a package puts its filesYour first server
- Units, targets and what depends on whatManaging services with systemd
- What the fix proved, and what expired on its ownDiagnosing a failure: what each output proves
- Releases and a symlink: the switch as one operationDeploying: releases, the switch and rolling back
- Verify before declaring success, and what a rollback does not undoDeploying: releases, the switch and rolling back
- Going back without rewriting historyGit for administrators: a history you can trust
