About 213,000 results
Open links in new tab
  1. How to run .sh on Windows Command Prompt? - Stack Overflow

    Oct 23, 2014 · In other words, Windows parses your command line as app /build /build.sh (or, to paraphrase with Unix option conventions, app --build --build.sh). You could try …

  2. shell script - How to execute .sh files on Windows? - Super User

    82 When I am trying to execute a .sh file with the command line ./name.sh, I am getting this error: "." is not recognized as an internal or external command, operable or batch file How can I …

  3. Run bash script from Windows PowerShell - Stack Overflow

    Jul 8, 2009 · In cygwin, I could just do ./script.sh args, but this opens the script file in notepad in PowerShell. What do I need to do have it execute?

  4. executable - Running .sh scripts in Git Bash - Stack Overflow

    Apr 4, 2016 · I use both Linux and Windows side by side, but favor my linux machine. so when I jump on Windows, I migrate to the command lone quickly. Gitbash uses bin/sh as their shell …

  5. batch file - Running a shell script through Cygwin on Windows

    Apr 1, 2013 · For example, if you put echo -n hello in a script testit.sh, when run by Cygwin the output will be hello and when run by the Windows command interpreter the output will be -n hello.

  6. How do I use Bash on Windows from the Visual Studio Code …

    Mar 5, 2017 · Visual Studio Code on Windows uses PowerShell by default as the integrated terminal. If you want to use Bash from Visual Studio Code, what steps should be followed?

  7. Running sh script with WSL returns "command not found"

    Feb 14, 2022 · 29 I have wsl installed, if from the cmd prompt I run: wsl ls it works perfectly, but if if i create a file script.sh and try: wsl script.sh with inside: ls or any other linux command, I get: …

  8. How can I run a shell script in Windows? - Super User

    Jan 2, 2012 · I'm a Mac user and new to Windows. How can I execute a shell script in Windows? Generally, I would save the text file with the extension .sh and run it via Terminal. But how …

  9. Can I run a Linux shell script in Windows? - Stack Overflow

    Jan 9, 2015 · I created Shell Script on Linux and it runs fine. Now I want to run the same script on Windows using gitbash. (Only filepath changed for windows) I am confused: do I need to write …

  10. Is there a way to run Bash scripts on Windows? [closed]

    I have bought and I use Windows 7 Ultimate, and I like to use it to develop applications. One of the down sides (as with every OS) is that I can not run Bash scripts. Is there a way to run Bash …