Annotated edit history of
gzexe(1) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
GZEXE |
|
|
2 |
!!!GZEXE |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
SEE ALSO |
|
|
8 |
CAVEATS |
|
|
9 |
BUGS |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
gzexe - compress executable files in place |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__gzexe__ [[ name ... ] |
|
|
19 |
!!DESCRIPTION |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
The ''gzexe'' utility allows you to compress executables |
|
|
23 |
in place and have them automatically uncompress and execute |
|
|
24 |
when you run them (at a penalty in performance). For example |
|
|
25 |
if you execute ``gzexe /bin/cat'' it will create the |
|
|
26 |
following two files: |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
-r-xr-xr-x 1 root bin 9644 Feb 11 11:16 /bin/cat |
|
|
30 |
-r-xr-xr-x 1 bin bin 24576 Nov 23 13:21 /bin/cat~ |
|
|
31 |
/bin/cat~ is the original file and /bin/cat is the self-uncompressing executable file. You can remove /bin/cat~ once you are sure that /bin/cat works properly. |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
This utility is most useful on systems with very small |
|
|
35 |
disks. |
|
|
36 |
!!OPTIONS |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
__-d__ |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
Decompress the given executables instead of compressing |
|
|
43 |
them. |
|
|
44 |
!!SEE ALSO |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
gzip(1), znew(1), zmore(1), zcmp(1), zforce(1) |
|
|
48 |
!!CAVEATS |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
The compressed executable is a shell script. This may create |
|
|
52 |
some security holes. In particular, the compressed |
|
|
53 |
executable relies on the PATH environment variable to find |
|
|
54 |
''gzip'' and some other utilities ''(tail, chmod, ln, |
|
|
55 |
sleep).'' |
|
|
56 |
!!BUGS |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
''gzexe'' attempts to retain the original file attributes |
|
|
60 |
on the compressed executable, but you may have to fix them |
|
|
61 |
manually in some cases, using ''chmod'' or |
|
|
62 |
''chown.'' |
|
|
63 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.