ln—creates hard links to files

ln [options] source [dest]
ln [options] source… directory
Options:
[-bdfinsvF] [-S  backup-suffix] [-V {numbered,existing,simple}]
[--version-control={numbered,existing,simple}] [--backup]
[--directory] [--force][--interactive] [--no-dereference] [--symbolic]
[--verbose] [--suffix=backup-suffix] [--help] [--version]

If the last argument names an existing directory, ln links each other given file into a file with the same name in that directory. If only one file is given, it links that file into the current directory. Otherwise, if only two files are given, it links the first onto the second. It is an error if the last argument is not a directory and more than two files are given. Symbolic links are used if crossing ...

Get Linux Shells by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.