So I'm trying to run a simple shell script as seen below but I'm facing an error also seen below.
I've added permissions and everything to the file so, in theory, it should be working?
#!/bin/bash echo "Hello Stack"
As seen this is located in my user profile (./home/pi/) if anyone has any idea why this mightn't be working please do share :) thanks in advance.
Thanks, everyone for the suggestions, I have changed the name of the file to simply test.sh and gave this another shot. In the photo below you can see the contents of test.sh as well as the location and my attempts at giving permission to and running the file. I'm totally lost to why this isn't working?