{
    "mode": "man",
    "parameter": "bzexe",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/bzexe/1/json",
    "generated": "2026-06-15T14:39:34Z",
    "synopsis": "bzexe [ name ...  ]",
    "sections": {
        "NAME": {
            "content": "bzexe - compress executable files in place\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "bzexe [ name ...  ]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The bzexe utility allows you to compress executables in place and have them automatically un‐\ncompress and execute when you run them (at a penalty in performance).  For example if you ex‐\necute ``bzexe /bin/cat'' it will create the following two files:\n-r-xr-xr-x  1 root  bin   9644 Feb 11 11:16 /bin/cat\n-r-xr-xr-x  1 bin   bin  24576 Nov 23 13:21 /bin/cat~\n/bin/cat~  is  the original file and /bin/cat is the self-uncompressing executable file.  You\ncan remove /bin/cat~ once you are sure that /bin/cat works properly.\n\nThis utility is most useful on systems with very small disks.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-d",
                    "content": "",
                    "flag": "-d"
                }
            ]
        },
        "SEE ALSO": {
            "content": "bzip2(1), znew(1), zmore(1), zcmp(1), zforce(1)\n",
            "subsections": []
        },
        "CAVEATS": {
            "content": "The compressed executable is a shell script. This may create some security holes. In particu‐\nlar,  the compressed executable relies on the PATH environment variable to find gzip and some\nother utilities (tail, chmod, ln, sleep).\n",
            "subsections": []
        },
        "BUGS": {
            "content": "bzexe attempts to retain the original file attributes on the compressed executable,  but  you\nmay have to fix them manually in some cases, using chmod or chown.\n\n\n\nBZEXE(1)",
            "subsections": []
        }
    },
    "summary": "bzexe - compress executable files in place",
    "flags": [
        {
            "flag": "-d",
            "long": null,
            "arg": null,
            "description": ""
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "bzip2",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/bzip2/1/json"
        },
        {
            "name": "znew",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/znew/1/json"
        },
        {
            "name": "zmore",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/zmore/1/json"
        },
        {
            "name": "zcmp",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/zcmp/1/json"
        },
        {
            "name": "zforce",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/zforce/1/json"
        }
    ]
}