{
    "content": [
        {
            "type": "text",
            "text": "# link (man)\n\n## NAME\n\nlink - call the link function to create a link to a file\n\n## SYNOPSIS\n\nlink FILE1 FILE2\nlink OPTION\n\n## DESCRIPTION\n\nCall the link function to create a link named FILE2 to an existing FILE1.\n\n## TLDR\n\n> Create a hard link to an existing file.\n\n- Create a hard link from a new file to an existing file:\n  `link {{path/to/existing_file}} {{path/to/new_file}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (1 subsections)\n- **AUTHOR**\n- **REPORTING BUGS**\n- **COPYRIGHT**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "link",
        "section": "",
        "mode": "man",
        "summary": "link - call the link function to create a link to a file",
        "synopsis": "link FILE1 FILE2\nlink OPTION",
        "tldr_summary": "Create a hard link to an existing file.",
        "tldr_examples": [
            {
                "description": "Create a hard link from a new file to an existing file",
                "command": "link {{path/to/existing_file}} {{path/to/new_file}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit"
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": [
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "link - call the link function to create a link to a file\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "link FILE1 FILE2\nlink OPTION\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Call the link function to create a link named FILE2 to an existing FILE1.\n\n--help display this help and exit\n",
                "subsections": [
                    {
                        "name": "--version",
                        "content": "output version information and exit\n",
                        "long": "--version"
                    }
                ]
            },
            "AUTHOR": {
                "content": "Written by Michael Stone.\n",
                "subsections": []
            },
            "REPORTING BUGS": {
                "content": "GNU coreutils online help: <https://www.gnu.org/software/coreutils/>\nReport any translation bugs to <https://translationproject.org/team/>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright  ©  2020 Free Software Foundation, Inc.  License GPLv3+: GNU GPL version 3 or later\n<https://gnu.org/licenses/gpl.html>.\nThis is free software: you are free to change and redistribute it.  There is NO WARRANTY,  to\nthe extent permitted by law.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "link(2)\n\nFull documentation <https://www.gnu.org/software/coreutils/link>\nor available locally via: info '(coreutils) link invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                     LINK(1)",
                "subsections": []
            }
        }
    }
}