Which of the following character combinations should be used on the first line of the script to accomplish this goal?

When developing a shell script intended for interpretation in Bash, the interpreter /bin/bash should be explicitly specified.

Which of the following character combinations should be used on the first line of the script to accomplish this goal?
A . <#
B . <$
C . ##
D . #$
E . #!

Answer: D

Explanation:

Reference: https://linuxconfig.org/bash-scripting-tutorial-for-beginners

Latest PT0-002 Dumps Valid Version with 110 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments