How to run .sh file on Windows 7 through Cygwin?

后端 未结 1 1913
南旧
南旧 2021-02-12 04:53

I have to use a package on my Windows 7 OS but the package comes only with the .sh file so I have to use bash and hence Cygwin to run on my machine

1条回答
  •  眼角桃花
    2021-02-12 05:20

    You can run it as:

    bash run.sh
    

    Or else:

    chmod +x run.sh
    ./run.sh
    

    0 讨论(0)
提交回复
热议问题