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