


LN(1L)							LN(1L)


NNAAMMEE
       ln - make links between files

SSYYNNOOPPSSIISS
       llnn [options] source [dest]
       llnn [options] source... directory
       Options:
       [-bdfisvF]      [-S	backup-suffix]	[-V	{num-
       bered,existing,simple}]			[--version-
       control={numbered,existing,simple}]  [--backup]	[--direc-
       tory] [--force] [--interactive]	[--symbolic]  [--verbose]
       [--suffix=backup-suffix] [--help] [--version]

DDEESSCCRRIIPPTTIIOONN
       This  manual page documents the GNU version of llnn.  If the
       last argument names an existing directory, llnn  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.  It makes hard links by default.
       By default, it does not remove existing files.

   OOPPTTIIOONNSS
       _-_b_, _-_-_b_a_c_k_u_p
	      Make backups of files that are about to be removed.

       _-_d_, _-_F_, _-_-_d_i_r_e_c_t_o_r_y
	      Allow the super-user to make hard links to directo-
	      ries.

       _-_f_, _-_-_f_o_r_c_e
	      Remove existing destination files.

       _-_i_, _-_-_i_n_t_e_r_a_c_t_i_v_e
	      Prompt   whether	to  remove  existing  destination
	      files.

       _-_s_, _-_-_s_y_m_b_o_l_i_c
	      Make symbolic links instead of  hard  links.   This
	      option produces an error message on systems that do
	      not support symbolic links.

       _-_v_, _-_-_v_e_r_b_o_s_e
	      Print the name of each file before linking it.

       _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
	      tus.

       _-_-_v_e_r_s_i_o_n
	      Print  version  information  on standard error then
	      exit.




FSF			GNU File Utilities			1





LN(1L)							LN(1L)


       _-_S_, _-_-_s_u_f_f_i_x _b_a_c_k_u_p_-_s_u_f_f_i_x
	      The suffix used for making simple backup files  can
	      be  set  with  the SSIIMMPPLLEE__BBAACCKKUUPP__SSUUFFFFIIXX environment
	      variable, which can be overridden by  this  option.
	      If  neither  of those is given, the default is `~',
	      as it is in Emacs.

       _'_-_V_, _-_-_v_e_r_s_i_o_n_-_c_o_n_t_r_o_l _{_n_u_m_b_e_r_e_d_,_e_x_i_s_t_i_n_g_,_s_i_m_p_l_e_}_"
	      The type of backups made can be set with	the  VVEERR--
	      SSIIOONN__CCOONNTTRROOLL  environment	variable,  which  can be
	      overridden by this option.  If  VVEERRSSIIOONN__CCOONNTTRROOLL  is
	      not  set	and this option is not given, the default
	      backup type is `existing'.  The value of	the  VVEERR--
	      SSIIOONN__CCOONNTTRROOLL  environment variable and the argument
	      to this option are like  the  GNU	Emacs	`version-
	      control'	variable;  they	also  recognize synonyms
	      that are more descriptive.  The  valid  values  are
	      (unique abbreviations are accepted):

	      `t' or `numbered'
		     Always make numbered backups.

	      `nil' or `existing'
		     Make  numbered backups of files that already
		     have them, simple backups of the others.

	      `never' or `simple'
		     Always make simple backups.





























FSF			GNU File Utilities			2


