System Grab Bag

View all TLDR pages from common (or from all pages)

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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.