0Pricing
Linux Command Line Mastery · Lesson

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.log

All lessons in this course

  1. Viewing File Content: `cat`, `less`, `more`
  2. Searching Files: `find` and `locate`
  3. Permissions and Ownership: `chmod`, `chown`
  4. Creating and Following Symbolic Links
← Back to Linux Command Line Mastery