Usage: /usr/bin/gzexe [OPTION] FILE...
Rename each FILE with a compressed version of itself, renaming FILE to FILE~.
-d Decompress each FILE instead of compressing it.
--help display this help and exit
--version output version information and exit
Report bugs to
Usage: /usr/bin/gzexe [OPTION] FILE...
Rename each FILE with a compressed version of itself, renaming FILE to FILE~.
-d Decompress each FILE instead of compressing it.
--help display this help and exit
--version output version information and exit
Report bugs to
GZEXE(1) GZEXE(1) 名前 gzexe - 実行ファイルを実行できる形で圧縮する 書式 gzexe [ name ... ] 説明 gzexe ユーティリティーは実行ファイルを圧縮する。この圧縮ファイルが実行 されると、自動的に伸長して起動する (性能の面でペナルティーがある)。たと えば、‘‘gzexe /bin/cat’’を実行すると、以下の 2 つのファイルが生成される 。 -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~ /bin/cat~ は元のファイルで、/bin/cat は自己伸長実行ファイル で あ る 。 /bin/cat が正しく動作することが確かめられたら、/bin/cat~ は削除しても良 い。 このユーティリティーは、ディスク容量が非常に小さいシステムでとても役 立 つ。 オプション -d 指定された実行ファイルを圧縮する代わりに伸長する。 関連項目 gzip(1), znew(1), zmore(1), zcmp(1), zforce(1) 注意 圧 縮実行ファイルはシェルスクリプトある。このことによって、何らかのセキ ュリティホールが生成される可能性がある。特に、圧縮実行ファイル は gzip や 他のユーティリティ (tail, chmod, ln, sleep) を見つけるために PATH 環 境変数に依存する。 バグ gzexe は、元ファイルの属性を圧縮実行ファイルに引き継ごう と す る が 、 chmod や chown を用いて手動で属性を修正しなければならない場合がある。 GZEXE(1)
GZEXE(1) GZEXE(1) NAME gzexe - compress executable files in place SYNOPSIS gzexe name ... DESCRIPTION The gzexe 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: -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~ /usr/bin/gdb~ is the original file and /usr/bin/gdb is the self-uncom- pressing executable file. You can remove /usr/bin/gdb~ once you are sure that /usr/bin/gdb works properly. This utility is most useful on systems with very small disks. OPTIONS -d Decompress the given executables instead of compressing them. SEE ALSO gzip(1), znew(1), zmore(1), zcmp(1), zforce(1) CAVEATS 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 gzip and some standard utilities (basename, chmod, ln, mkdir, mktemp, rm, sleep, and tail). BUGS gzexe attempts to retain the original file attributes on the compressed executable, but you may have to fix them manually in some cases, using chmod or chown. GZEXE(1)
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa