{
    "mode": "man",
    "parameter": "netplan-get",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/netplan-get/8/json",
    "generated": "2026-05-30T07:08:47Z",
    "synopsis": "netplan [--debug] get -h | --help\nnetplan [--debug] get [--root-dir=ROOTDIR] [key]",
    "sections": {
        "NAME": {
            "content": "netplan-get - read merged netplan YAML configuration\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "netplan [--debug] get -h | --help\n\nnetplan [--debug] get [--root-dir=ROOTDIR] [key]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "netplan  get  [key]  reads  all  YAML  files from /{etc,lib,run}/netplan/*.yaml and returns a\nmerged view of the current configuration\n\nYou can specify all as a key (the default) to get the full YAML tree or extract a subtree  by\nspecifying a nested key like: [network.]ethernets.eth0.\n\nFor details of the configuration file format, see netplan(5).\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-h, --help",
                    "content": "Print basic help.\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "--debug",
                    "content": "Print debugging output during the process.\n",
                    "long": "--debug"
                },
                {
                    "name": "--root-dir",
                    "content": "Read YAML files from this root instead of /\n",
                    "long": "--root-dir"
                }
            ]
        },
        "SEE ALSO": {
            "content": "netplan(5), netplan-set(8), netplan-dbus(8)\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Lukas Märdian (lukas.maerdian@canonical.com).\n\n\n\nnetplan-get(8)",
            "subsections": []
        }
    },
    "summary": "netplan-get - read merged netplan YAML configuration",
    "flags": [
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "Print basic help."
        },
        {
            "flag": "",
            "long": "--debug",
            "arg": null,
            "description": "Print debugging output during the process."
        },
        {
            "flag": "",
            "long": "--root-dir",
            "arg": null,
            "description": "Read YAML files from this root instead of /"
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "netplan",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/netplan/5/json"
        },
        {
            "name": "netplan-set",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/netplan-set/8/json"
        },
        {
            "name": "netplan-dbus",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/netplan-dbus/8/json"
        }
    ]
}