[pappy@chmodx]:$ man ln

$ ln

Create links between files

DOCUMENTEDFiles & directoriesUbuntu 24.04 LTS baseline

Synopsis

ln [OPTION]... [-T] TARGET LINK_NAME

What it does

Examples

Create a symbolic link
ln -s /var/www/site site
Create a hard link
ln original.txt copy-of-entry.txt

Important details

These examples are intentionally conservative. Command behavior can still depend on filesystem state, permissions, locale, shell, installed package version, and other system configuration. For exact option semantics, the linked authoritative documentation is the source of truth.