Creating and Following Symbolic Links
Learn to create, inspect, and manage symbolic and hard links to organize files flexibly without copying data.
What Is a Link
A link is a filesystem entry that points to another file. Links let one file appear in multiple places without duplicating its data, saving space and easing organization.
Linux has two kinds: symbolic links and hard links.
Creating a Symbolic Link
A symbolic link (symlink) is a small file holding a path to its target. Create one with ln -s: the target first, then the link name.
ln -s /var/log/app.log current.logAll lessons in this course
- Viewing File Content: `cat`, `less`, `more`
- Searching Files: `find` and `locate`
- Permissions and Ownership: `chmod`, `chown`
- Creating and Following Symbolic Links