Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

ln

Create links between files

Syntax

ln [OPTION]... TARGET [LINK_NAME]

Common Options

-sCreate symbolic link
-fForce create
-iInteractive prompt
-vVerbose

Common Examples

ln -s /path/to/file linkname

Create symbolic link

ln file.txt backup.txt

Create hard link

Related Commands

Related Tools

More Code & Dev Tools