Interview question

This question is step 5 of the course “Platform intro”

What it takes to run ./hello.sh

easy~5 min

You wrote a script hello.sh. What does it take to be able to run it with ./hello.sh? Why does the script start with #!/bin/bash, and why do you write ./ before the name?

Just like in an interview: answer in your own words, and the AI will mark which key points you covered. To pass, cover more than half of them.

Loading…