Multiple choice technology operating systems

how to convert shell script to binary file

  1. using java

  2. shc

  3. Change the permission of script.

  4. using VB

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The shc utility (Shell Script Compiler) converts shell scripts into binary executables by first translating the script to C code and then compiling it. This helps protect script source code and makes distribution easier. The resulting binary can be executed like any compiled program.