{
    "content": [
        {
            "type": "text",
            "text": "# nameif(8) (man)\n\n**Summary:** nameif - name network interfaces based on MAC addresses\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (1 lines) — 2 subsections\n  - nameif [-c configfile] [-s] (1 lines)\n  - nameif [-c configfile] [-s] {interface macaddress} (1 lines)\n- **DESCRIPTION** (11 lines)\n- **NOTES** (3 lines)\n- **FILES** (2 lines)\n- **BUGS** (5 lines)\n\n## Full Content\n\n### NAME\n\nnameif - name network interfaces based on MAC addresses\n\n### SYNOPSIS\n\n#### nameif [-c configfile] [-s]\n\n#### nameif [-c configfile] [-s] {interface macaddress}\n\n### DESCRIPTION\n\nnameif  renames  network  interfaces  based  on  mac  addresses.  When no arguments are given\n/etc/mactab is read. Each line  of it contains an interface name and a Ethernet MAC  address.\nComments are allowed starting with #.  Otherwise the interfaces specified on the command line\nare processed.  nameif looks for the interface with the given MAC address and renames  it  to\nthe name given.\n\nWhen the -s argument is given all error messages go to the syslog.\n\nWhen the -c argument is given with a file name that file is read instead of /etc/mactab.\n\n### NOTES\n\nnameif should be run before the interface is up, otherwise it'll fail.\n\n### FILES\n\n/etc/mactab\n\n### BUGS\n\nOnly works for Ethernet currently.\n\n\n\nnet-tools                                    2008-10-03                                    NAMEIF(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "nameif",
        "section": "8",
        "mode": "man",
        "summary": "nameif - name network interfaces based on MAC addresses",
        "synopsis": "",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "nameif [-c configfile] [-s]",
                        "lines": 1
                    },
                    {
                        "name": "nameif [-c configfile] [-s] {interface macaddress}",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}