Interview Prep/Linux/Filesystem Hierarchy, Inodes & Links

What is a symbolic (soft) link?

BeginnerConceptFilesystem Hierarchy, Inodes & Links
Answer

A symlink is a separate small file (own inode) whose content is a path. The kernel follows the path when you open it. If the target is removed, the symlink dangles.

ln -s /opt/app/releases/v42 /opt/app/current
readlink -f /opt/app/current
All Linux questions Roadmap: Linux

More on Filesystem Hierarchy, Inodes & Links