ln - create links
ln [-sf] source_file [target_file | [source_files ... target_directory]]
ln creates hard or symbolic links between files. If more than one argument is given, and the last argument is a directory, links will be created in this directory; their names will consist of the last components of the source files. If only one argument is given, the link will be created in the current directory, and its name will consist of the last component of the source file.
ln accepts the following options:
Create symbolic links instead of hard links (the default).
If the target is not a directory, try to remove any existing targets before creating the links. Failure of removing the target results in a warning and no futher attempt to make the link will be made.
The working of ln is not influenced by any environment variables.
ln will not do much on platforms that do not know the concept of links. ln -s will not do much on platforms that do know symbolic links.
There are no known bugs in this implementation of ln.
The Perl implementation of ln was written by Abigail, perlpowertools@abigail.be.
This program is copyright by Abigail 1999.
This program is free and open software. You may use, copy, modify, distribute, and sell this program (and any modified variants) in any way you wish, provided you do not restrict others from doing the same.
To install PerlPowerTools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PerlPowerTools
CPAN shell
perl -MCPAN -e shell install PerlPowerTools
For more information on module installation, please visit the detailed CPAN module installation guide.