snippetbashTip
shc — Generic shell script compiler. More information: <https://manned.org/shc>.
Viewed 0 times
shellcommandshcclimorecompilergenericscript
Problem
How to use the
shc command: Generic shell script compiler. More information: <https://manned.org/shc>.Solution
shc — Generic shell script compiler. More information: <https://manned.org/shc>.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}}"Code Snippets
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}}"Context
tldr-pages: common/shc
Revisions (0)
No revisions yet.