Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Latest commit

 

History

History
20 lines (14 loc) · 349 Bytes

link.markdown

File metadata and controls

20 lines (14 loc) · 349 Bytes

link

The link function in PHP creates a hard link.

{{code:php link('/path/to/source', '/path/to/target'); }}

Ruby's File.link class method is equivalent.

{{code:ruby File.link('/path/to/source', '/path/to/target') }}

{{related:
filesystem/symlink
filesystem/readlink
filesystem/linkinfo }}