{
    "content": [
        {
            "type": "text",
            "text": "# UNLINK(1) (man)\n\n## NAME\n\nunlink - call the unlink function to remove the specified file\n\n## SYNOPSIS\n\nunlink FILE\nunlink OPTION\n\n## DESCRIPTION\n\nCall the unlink function to remove the specified FILE.\n\n## TLDR\n\n> Remove a link to a file from the filesystem.\n\n- Remove the specified file if it is the last link:\n  `unlink {{path/to/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": "UNLINK",
        "section": "1",
        "mode": "man",
        "summary": "unlink - call the unlink function to remove the specified file",
        "synopsis": "unlink FILE\nunlink OPTION",
        "tldr_summary": "Remove a link to a file from the filesystem.",
        "tldr_examples": [
            {
                "description": "Remove the specified file if it is the last link",
                "command": "unlink {{path/to/file}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "unlink",
                "section": "2",
                "url": "https://www.chedong.com/phpMan.php/man/unlink/2/json"
            }
        ],
        "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": "unlink - call the unlink function to remove the specified file\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "unlink FILE\nunlink OPTION\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Call the unlink function to remove the specified FILE.\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": "unlink(2)\n\nFull documentation <https://www.gnu.org/software/coreutils/unlink>\nor available locally via: info '(coreutils) unlink invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                   UNLINK(1)",
                "subsections": []
            }
        }
    }
}