What implications does this have on the shell script if the script is called directly at the c shell prompt?

You are writing a script and add the following line at the beginning of the script:
#/bin/bash
What implications does this have on the shell script if the script is called directly at the c shell
prompt?

You are writing a script and add the following line at the beginning of the script:
#/bin/bash
What implications does this have on the shell script if the script is called directly at the c shell
prompt?

A.
The script will treat the line as a comment.

B.
The current shell will attempt to parse and execute the script.

C.
The script will be executed using bash as the shell interpreter.

D.
The script will be executed using bourne as the shell interpreter.



Leave a Reply 0

Your email address will not be published. Required fields are marked *