encyclopegia.org

Shc (shell script compiler)

shc is a shell script compiler for Unix-like operating systems written in the C programming language.[src] The Shell Script Compiler (SHC) encodes and encrypts shell scripts into executable binaries.[src] Compiling shell scripts into binaries provides protection against accidental changes and source code modification, and is a way of hiding shell script source code.[src]

shc is a shell script compiler for Unix-like operating systems written in the C programming language.[src] The Shell Script Compiler (SHC) encodes and encrypts shell scripts into executable binaries.[src] Compiling shell scripts into binaries provides protection against accidental changes and source code modification, and is a way of hiding shell script source code.[src] The compiled binary will still be dependent on the shell specified in the shebang (eg.[src] #!/bin/sh ), thus shc does not create completely independent binaries.[src] shc itself is not a compiler such as the C compiler, it rather encodes and encrypts a shell script and generates C source code with the added expiration capability.[src] It then uses the system C compiler to compile the source shell script and build a stripped binary which behaves exactly like the original script.[src] Upon execution, the compiled binary will decrypt and execute the code with the shells' -c option.[src]

11 sentences · 11 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Shc (shell script compiler)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/shc-shell-script-compiler. Accessed 25 November 2026.

Chicago

"Shc (shell script compiler)." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/shc-shell-script-compiler.

APA

encyclopegia.org. (2026). Shc (shell script compiler). Retrieved November 25, 2026, from https://encyclopegia.org/wiki/shc-shell-script-compiler

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Cyrillic script

stub · references available

Shell Haven

stub · references available

Ghost in the Shell

stub · references available

script editor

stub · references available

Northern & Shell

stub · references available

FIG Script

stub · references available

Shell Rock Township

stub · references available

JavaFX Script

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1343045303 · 0.5 · snapshot enwiki-001343045303

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.