How do I run a shell script in Cygwin?

Thu Ha

New member
How do I run a shell script in Cygwin?
Answer
this causes the script to run in a Cygwin BASH console instead of a Windows DOS console.
…
Note: On Windows, you need to use the file explorer to do following once:
  1. Open the file explorer.
  2. Right-click on a file with .sh extension, like test1.sh.
  3. Open with… -> Select sh.exe.
 

Tìm kiếm

Back
Top