mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
shc: add page (#2138)
This commit is contained in:
parent
dfabca0566
commit
28f8320a0b
19
pages/common/shc.md
Normal file
19
pages/common/shc.md
Normal file
@ -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"}}`
|
Loading…
Reference in New Issue
Block a user