Linux and UNIX Systems Configuration Help, How To, Tutorial and Basic Information

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
ln PDF Print E-mail
Sunday, 10 January 2010 18:28
AddThis Social Bookmark Button

Command ln

Sets hard or symbolic links (aliases) for files and directories.

Syntax

ln [options] existing_file new_name

Options

-b backs up files before deleting them.
-d creates a hard link to a directory (this can be done only by root).
-f remove existing file named newname.
-help displays help for the team.
-s creates a symbolic link.
-v generates detailed output information.

Description

ln command assigns a new_name for an existing_file. With the -s option can be create symbolic links for all known file systems. For symbolic links can view the related information with the command ls -l. In Otherwise, the ls -l displays two separate file - for file and its tight links.

 

Add comment


Security code
Refresh

Latest News

Friends

Thanks David Ayvazyan for provided useful information and discussions.
www.gnu.am (Armenian Translation)