Question
Assume that you create a bash shell script named lightBob on a computer running Windows. You then copy the script to a computer running Linux
Assume that you create a bash shell script named lightBob on a computer running Windows. You then copy the script to a computer running Linux and give yourself execute permissions. You attempt to run the script by typing ./lightBob, but receive an error that says #!/bin/bash command not found. You check and the Linux computer does have the bash shell installed in /bin/bash, and you can change to the bash shell at any time. You also check and the line #!/bin/bash is the first line of your script, exactly where its supposed to be. What would you type to correct this error? Note - enter everything you would type on the command line, not just the command.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started