ln

Content collection page for the ln linux command.

ln (linux command)

Manual page and help for the ln linux command. If the last argument is an existing directory, ln creates a binding to all other specified files in that directory (with the same name). If only one file is specified, it creates a bind to the current directory. Otherwise, if two files are specified, it creates a binding to the first with the name specified by the second. It is an error if the last argument is not a directory and more than two files are given.