I am trying to execute bash script on windows using cygwin but getting error as commands not found
sample : test.sh
#!/bin/bash
ls
and I am executing it as
C:\Apps\cygwin64\bin\bash.exe /cygdrive/g/Scripts/test.sh
getting error as test.sh: line 2: ls: command not found
/usr/bin/bash test.sh- armnotstrong