Skip to content
Related Articles

Related Articles

gzexe command in Linux with examples
  • Last Updated : 20 May, 2019

gzexe command is used to compress executable files and also used to automatically uncompress and execute the files. This utility is very useful on systems having small disk space. This command creates two files. Suppose you run it for a file named grs then it will create two files like:

  1. grs~ : Original file itself.
  2. grs : Compressed executable.

Option:

  • -d : Decompress the given executables instead of compressing them.

Example:

  • Compressing an executable file(observe the size of both files).

  • Decompressing an compressed executable file(observe the size of both files).

Note: Compressed executable is a shell script in itself which can create security holes. It is dependent on PATH environment variable for its functions.

My Personal Notes arrow_drop_up
Recommended Articles
Page :