Question: Why do Korn shell scripts need the # ! / bin / ksh on the first line? To tell the shell that the script is

Why do Korn shell scripts need the #!/bin/ksh on the first line?
To tell the shell that the script is executable and runs ksh commands
To tell the shell that the script is a comment line and that the script runs ksh
To tell the shell that the script is a comment line and that the script is found in /bin/ksh
To tell the shell that the script is executable and is stored in /bin/ksh

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!