浏览代码

gzexe: add page (#10869)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Juri Dispan 1 年之前
父节点
当前提交
2f4fb5699a
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      pages/linux/gzexe.md

+ 13 - 0
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: <https://manned.org/gzexe.1>.
+
+- 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}}`