ln -s /path/to/target linkname

Category: File Operations

ln -s /path/to/target linkname

Create a symbolic (soft) link

Creates a symbolic link — a shortcut file that points to another file or folder. Useful for accessing the same file from multiple places.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.