From 2f4fb5699af141af0e5205b4d19e3ea60bcf5956 Mon Sep 17 00:00:00 2001 From: Juri Dispan Date: Sat, 14 Oct 2023 16:16:12 +0200 Subject: [PATCH] gzexe: add page (#10869) Co-authored-by: K.B.Dharun Krishna Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/linux/gzexe.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pages/linux/gzexe.md diff --git a/pages/linux/gzexe.md b/pages/linux/gzexe.md new file mode 100644 index 000000000..25dc92e9b --- /dev/null +++ b/pages/linux/gzexe.md @@ -0,0 +1,13 @@ +# gzexe + +> Compress executable files while keeping them executable. +> Back up the original file, appending `~` to its name and create a shell script that uncompresses and executes the binary inside it. +> More information: . + +- Compress an executable file in-place: + +`gzexe {{path/to/executable}}` + +- Decompress a compressed executable in-place (i.e. convert the shell script back to an uncompressed binary): + +`gzexe -d {{path/to/compressed_executable}}`