LN(1)                            User Commands
LN(1)



NNAAMMEE
       ln - make links between files

SSYYNNOOPPSSIISS
       llnn [_O_P_T_I_O_N]... [_-_T]
       _T_A_R_G_E_T _L_I_N_K___N_A_M_E
       _(_1_s_t _f_o_r_m_) llnn
       [_O_P_T_I_O_N]... _T_A_R_G_E_T
       _(_2_n_d _f_o_r_m_) llnn
       [_O_P_T_I_O_N]... _T_A_R_G_E_T...
       _D_I_R_E_C_T_O_R_Y     _(_3_r_d
       _f_o_r_m_) llnn [_O_P_T_I_O_N]... _-_t
       _D_I_R_E_C_T_O_R_Y _T_A_R_G_E_T...
       _(_4_t_h _f_o_r_m_)

DDEESSCCRRIIPPTTIIOONN
       In  the  1st form, create a link to TARGET with the
       name LINK_NAME.  In the 2nd form, create a link to
       TARGET in the current directory.  In the 3rd  and
       4th  forms, create links to each TARGET in DIRECTORY.
       Create hard links by default, symbolic links with
       ----ssyymmbboolliicc.   When  creating hard
       links, each TARGET must exist.

       Mandatory  arguments  to  long  options are mandatory
       for short options too.

       ----bbaacckkuupp[=_C_O_N_T_R_O_L]
              make a backup of each existing destination file

       --bb     like ----bbaacckkuupp but does not
       accept an argument

       --dd, --FF, ----ddiirreeccttoorryy
              allow the superuser to attempt to hard link
              directories  (note: will  probably  fail  due
              to  system restrictions, even for the superuser)

       --ff, ----ffoorrccee
              remove existing destination files

       --nn, ----nnoo--ddeerreeffeerreennccee
              treat destination that is a symlink to a
              directory as if it were a normal file

       --ii, ----iinntteerraaccttiivvee
              prompt whether to remove destinations

       --ss, ----ssyymmbboolliicc
              make symbolic links instead of hard links

       --SS, ----ssuuffffiixx=_S_U_F_F_I_X
              override the usual backup suffix

       --tt,
       ----ttaarrggeett--ddiirreeccttoorryy=_D_I_R_E_C_T_O_R_Y
              specify the DIRECTORY in which to create
              the links

       --TT,
       ----nnoo--ttaarrggeett--ddiirreeccttoorryy
              treat LINK_NAME as a normal file

       --vv, ----vveerrbboossee
              print name of each linked file

       ----hheellpp display this help and exit

       ----vveerrssiioonn
              output version information and exit

       The   backup   suffix   is  `~',  unless  set  with
       ----ssuuffffiixx  or  SIM‐ PLE_BACKUP_SUFFIX.
       The version control method may be selected via  the
       ----bbaacckkuupp  option  or  through the
       VERSION_CONTROL environment variable.  Here are
       the values:

       none, off
              never make backups (even if
              ----bbaacckkuupp is given)

       numbered, t
              make numbered backups

       existing, nil
              numbered if numbered backups exist, simple
              otherwise

       simple, never
              always make simple backups

AAUUTTHHOORR
       Written by Mike Parker and David MacKenzie.

RREEPPOORRTTIINNGG BBUUGGSS
       Report bugs to <bug-coreutils@gnu.org>.

CCOOPPYYRRIIGGHHTT
       Copyright © 2006 Free Software Foundation, Inc.
       This is free software.  You may redistribute
       copies  of  it  under  the terms       of
       the      GNU      General      Public      License
       <http://www.gnu.org/licenses/gpl.html>.  There is NO
       WARRANTY,  to  the extent permitted by law.

SSEEEE AALLSSOO
       link(2), symlink(2)

       The  full  documentation  for llnn is maintained as a
       Texinfo manual.  If the iinnffoo and llnn programs
       are properly installed at your site, the  com‐ mand

              iinnffoo llnn

       should give you access to the complete manual.



ln 6.7                           December 2006
LN(1)
