man-pages/man1/bzexe.1.html
2021-03-31 01:06:50 +01:00

97 lines
2.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of BZEXE</TITLE>
</HEAD><BODY>
<H1>BZEXE</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">&nbsp;</A>
<H2>NAME</H2>
bzexe - compress executable files in place
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>bzexe</B>
[ name ... ]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
The
<I>bzexe</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 ``bzexe /bin/cat'' it
will create the following two files:
<PRE>
<BR>
-r-xr-xr-x 1 root bin 9644 Feb 11 11:16 /bin/cat
-r-xr-xr-x 1 bin bin 24576 Nov 23 13:21 /bin/cat~
</PRE>
/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.
<P>
This utility is most useful on systems with very small disks.
<A NAME="lbAE">&nbsp;</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">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?1+bzip2">bzip2</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">&nbsp;</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 other utilities
<I>(tail, chmod, ln, sleep).</I>
<A NAME="lbAH">&nbsp;</A>
<H2>BUGS</H2>
<I>bzexe</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">&nbsp;</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:08 GMT, March 31, 2021
</BODY>
</HTML>