1GZEXE(1) General Commands Manual GZEXE(1)
2
3
4
6 gzexe - compress executable files in place
7
9 gzexe name ...
10
12 The gzexe utility allows you to compress executables in place and have
13 them automatically uncompress and execute when you run them (at a pen‐
14 alty in performance). For example if you execute ``gzexe
15 /usr/bin/gdb'' it will create the following two files:
16 -rwxr-xr-x 1 root root 1026675 Jun 7 13:53 /usr/bin/gdb
17 -rwxr-xr-x 1 root root 2304524 May 30 13:02 /usr/bin/gdb~
18 /usr/bin/gdb~ is the original file and /usr/bin/gdb is the self-uncom‐
19 pressing executable file. You can remove /usr/bin/gdb~ once you are
20 sure that /usr/bin/gdb works properly.
21
22 This utility is most useful on systems with very small disks.
23
25 -d Decompress the given executables instead of compressing them.
26
28 gzip(1), znew(1), zmore(1), zcmp(1), zforce(1)
29
31 The compressed executable is a shell script. This may create some se‐
32 curity holes. In particular, the compressed executable relies on the
33 PATH environment variable to find gzip and some standard utilities
34 (basename, chmod, ln, mkdir, mktemp, rm, sleep, and tail).
35
37 The gzexe command attempts to retain the original file attributes on
38 the compressed executable, but you may have to fix them manually in
39 some cases, using chmod or chown.
40
41
42
43 GZEXE(1)