# phpman > man > link(1)

> **TLDR:** Create a hard link to an existing file.
>
- Create a hard link from a new file to an existing file:
  `link {{path/to/existing_file}} {{path/to/new_file}}`

*Source: tldr-pages*

---

[LINK(1)](https://www.chedong.com/phpMan.php/man/LINK/1/markdown)                                     User Commands                                    [LINK(1)](https://www.chedong.com/phpMan.php/man/LINK/1/markdown)



## NAME
       link - call the link function to create a link to a file

## SYNOPSIS
       **link** _FILE1_ _FILE2_
       **link** _OPTION_

## DESCRIPTION
       Call the link function to create a link named FILE2 to an existing FILE1.

       **--help** display this help and exit

### --version
              output version information and exit

## AUTHOR
       Written by Michael Stone.

## REPORTING BUGS
       GNU coreutils online help: <<https://www.gnu.org/software/coreutils/>>
       Report any translation bugs to <<https://translationproject.org/team/>>

## COPYRIGHT
       Copyright  ©  2020 Free Software Foundation, Inc.  License GPLv3+: GNU GPL version 3 or later
       <<https://gnu.org/licenses/gpl.html>>.
       This is free software: you are free to change and redistribute it.  There is NO WARRANTY,  to
       the extent permitted by law.

## SEE ALSO
       [link(2)](https://www.chedong.com/phpMan.php/man/link/2/markdown)

       Full documentation <<https://www.gnu.org/software/coreutils/link>>
       or available locally via: info '(coreutils) link invocation'



GNU coreutils 8.32                          January 2026                                     [LINK(1)](https://www.chedong.com/phpMan.php/man/LINK/1/markdown)
