From 28f8320a0b620b970714aea3b27578e70865b282 Mon Sep 17 00:00:00 2001 From: Darryl Abbate Date: Wed, 13 Jun 2018 11:12:54 -0500 Subject: [PATCH] shc: add page (#2138) --- pages/common/shc.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/common/shc.md diff --git a/pages/common/shc.md b/pages/common/shc.md new file mode 100644 index 0000000000..5303d33ddc --- /dev/null +++ b/pages/common/shc.md @@ -0,0 +1,19 @@ +# shc + +> Generic shell script compiler. + +- Compile a shell script: + +`shc -f {{script}}` + +- Compile a shell script and specify an output binary file: + +`shc -f {{script}} -o {{binary}}` + +- Compile a shell script and set an expiration date for the executable: + +`shc -f {{script}} -e {{dd/mm/yyyy}}` + +- Compile a shell script and set a message to display upon expiration: + +`shc -f {{script}} -e {{dd/mm/yyyy}} -m {{"Please contact your provider"}}`