Using Symbolic Links
The cyan files in the /bin listing represent another very common file type in Linux called a symbolic link. A symbolic link allows a single given file to appear in many places or under many names at once, without taking up any additional space on your hard drive. A symbolic link is often used to conserve disk space; other times, it's used simply for convenience. When a symbolic link points to an executable file, it enables the command to take on several identities or behaviors at once, depending on whether you type the name of the original command to use it or the name of the symbolic link.
Nearly anything done to a symbolic link also affects the original file, with the notable exception of removal. Using rm to remove a symbolic ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access