LN(1) General Commands Manual LN(1)

lnlink files

ln [-f] [-L | -P | -s] source [target]

ln [-f] [-L | -P | -s] source ... directory

In the first synopsis, ln creates a hard link target to the source. If target is absent, then a hard link to source is created in the current directory. In the second synopsis form, ln creates a hard link for each source in directory.

Remove existing files.
Dereference all symbolic links.
Preserve symbolic links.
Create symbolic links.

The ln utility exits 0 on success, and >0 if an error occurs.

cp(1), link(1)

The ln utility is compliant with the specification.

December 29, 2019 EltaninOS