1GZEXE(1)                    General Commands Manual                   GZEXE(1)
2
3
4

NAME

6       gzexe - compress executable files in place
7

SYNOPSIS

9       gzexe name ...
10

DESCRIPTION

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
14       penalty   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

OPTIONS

25       -d     Decompress the given executables instead of compressing them.
26

SEE ALSO

28       gzip(1), znew(1), zmore(1), zcmp(1), zforce(1)
29

CAVEATS

31       The compressed executable is a shell  script.   This  may  create  some
32       security 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

BUGS

37       gzexe attempts to retain the original file attributes on the compressed
38       executable, but you may have to fix them manually in some cases,  using
39       chmod or chown.
40
41
42
43                                                                      GZEXE(1)
Impressum