I’ve learned how to run a program I wrote without using the command bash from the book The Unix Workbench by making the file executable, which I did, and writing the shebang on the first line of the script:
It more or less worked during the example but when I tried to do the same on one of my own script using nano for writing it didn’t worked.
I also have to do it for python 3.7 scripts, which seems to be harder to make it works. The example I found on the python website was:
Could someone explain me how this part of the script works and give me an example that I can apply?