113 lines
2.6 KiB
HTML
113 lines
2.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of GZEXE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>GZEXE</H1>
|
|
Section: User Commands (1)<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
gzexe - compress executable files in place
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>gzexe</B>
|
|
|
|
<I>name ...</I>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The
|
|
<I>gzexe</I>
|
|
|
|
utility allows you to compress executables in place and have them
|
|
automatically uncompress and execute when you run them (at a penalty
|
|
in performance). For example if you execute ``gzexe /usr/bin/gdb'' it
|
|
will create the following two files:
|
|
<PRE>
|
|
<BR>
|
|
-rwxr-xr-x 1 root root 1026675 Jun 7 13:53 /usr/bin/gdb
|
|
-rwxr-xr-x 1 root root 2304524 May 30 13:02 /usr/bin/gdb~
|
|
</PRE>
|
|
|
|
/usr/bin/gdb~ is the original file and /usr/bin/gdb is the self-uncompressing
|
|
executable file. You can remove /usr/bin/gdb~ once you are sure that
|
|
/usr/bin/gdb works properly.
|
|
<P>
|
|
|
|
This utility is most useful on systems with very small disks.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-d</B>
|
|
|
|
<DD>
|
|
Decompress the given executables instead of compressing them.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?1+gzip">gzip</A>(1), <A HREF="/cgi-bin/man/man2html?1+znew">znew</A>(1), <A HREF="/cgi-bin/man/man2html?1+zmore">zmore</A>(1), <A HREF="/cgi-bin/man/man2html?1+zcmp">zcmp</A>(1), <A HREF="/cgi-bin/man/man2html?1+zforce">zforce</A>(1)
|
|
<A NAME="lbAG"> </A>
|
|
<H2>CAVEATS</H2>
|
|
|
|
The compressed executable is a shell script. This may create some
|
|
security holes. In particular, the compressed executable relies
|
|
on the PATH environment variable to find
|
|
<I>gzip</I>
|
|
|
|
and some standard utilities
|
|
(<I>basename</I>,
|
|
|
|
<I>chmod</I>,
|
|
|
|
<I>ln</I>,
|
|
|
|
<I>mkdir</I>,
|
|
|
|
<I>mktemp</I>,
|
|
|
|
<I>rm</I>,
|
|
|
|
<I>sleep</I>,
|
|
|
|
and
|
|
<I>tail</I>).
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
<I>gzexe</I>
|
|
|
|
attempts to retain the original file attributes on the compressed executable,
|
|
but you may have to fix them manually in some cases, using
|
|
<I>chmod</I>
|
|
|
|
or
|
|
<I>chown</I>.
|
|
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="2"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="3"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="4"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="5"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="6"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="7"><A HREF="#lbAG">CAVEATS</A><DD>
|
|
<DT id="8"><A HREF="#lbAH">BUGS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:16 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|