shc

Generic shell script compiler. More information: <https://manned.org/shc>.

Install

All systems
curl cmd.cat/shc.sh
Debian Debian
apt-get install shc
Ubuntu
apt-get install shc
image/svg+xml Kali Linux
apt-get install shc
Windows (WSL2)
sudo apt-get update sudo apt-get install shc
OS X
brew install shc
Raspbian
apt-get install 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"

© tl;dr; authors and contributors