when I try to test the file with
sudo chmod755 /home/pi/scripts/shutdown.sh
I get this
: not foundripts/shutdown.sh: 1 /home/pi/scripts/shutdown.sh:
: permission deniedutdown.sh: 5: /home/pi/scripts/shutdown.sh: cannot creat /sys/class/gpio/export
: Directory nonexistantwn.sh Syntax error: end of file unexpected (expecting “do”)
I am very new to programing and have no idea why I am getting this error.
Thanks for any help you can be.