I have a question about a shell interpreter, though I have used it for many years.
At the beginning of a shell, we always setup the environment, followed by our shells. Below are two examples:
File 1:
#!/usr/bin/env bash
"bash shells"
File 2:
#!/usr/bin/env jruby
"ruby shells"
Do the above two samples mean that the interpreter of both scripts is created at the beginning and then both interpreters execute the following scripts, "Bash shells" and "Ruby shells"?