1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

gzexe: add page (#10869)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
Juri Dispan 2023-10-14 16:16:12 +02:00 committed by GitHub
parent 054093f7e9
commit 2f4fb5699a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

13
pages/linux/gzexe.md Normal file
View file

@ -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}}`