symbolic link
A special file that points to another path, so opening the link opens the file it names.
In more detail
The link stores only the target path, so it breaks if the target moves, and it can point to a directory or to another filesystem. ls -l shows links with an arrow to their target.
Examples
ls -l /bin/sh # on Debian: /bin/sh -> dashln -s /opt/tool/bin/tool ~/bin/toolRelated terms
- sh — The standard Unix shell name: whatever program /bin/sh points to, expected to behave as the POSIX standard describes.
- find command — The find command, which walks a directory tree and prints, or acts on, every entry that passes its tests.
- file path — A string naming the location of a file, made of directory names separated by forward slashes.
- filesystem — The way an operating system organises files and folders on a disk or in memory.
- Dirent — The object Node.js uses for one directory entry, with its name and methods such as isFile() and isDirectory().
- PATH — An environment variable holding a list of folders the shell searches, in order, to find the program for a command you type.
- virtual environment — A self-contained folder with its own Python and its own installed packages, so each project's packages stay separate.
Taught in
- POSIX sh Versus Bash — Bash Scripting & Command Line Automation
- Permissions And Ownership — Bash Scripting & Command Line Automation
- find And xargs — Bash Scripting & Command Line Automation
- Directory Traversal: Recursive Readdir & fs.watch — Node.js Internals & Backend Services
- Installing Python On A Mac — Hands-on Python: Complete Video Course & Book
- Deploying Files: file, copy, lineinfile And blockinfile — RHCE in Ansible (EX294): Automate Red Hat Systems