mirror of https://github.com/CrimsonTome/tldr.git
20 lines
445 B
Markdown
20 lines
445 B
Markdown
# 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}}"`
|