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

    Oct 23, 2014 · On Windows 10 Anniversary Update, it's even easier to run shell commands in/with bash on ubuntu on windows I was trying to set my region for my x-wrt r7000 netgear router, I found the …

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

    Download and install .git for Windows Right click desktop and say "git bash here" Execute your script like in unix Done! Caution: Many commands won’t work on windows! But still, a lot of the basic stuff …

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

    This provides 100% compatibility with Ubuntu for debugging and running Bash scripts, but this setup is completely standalone from Windows and you cannot use Bash scripts to interact with Windows …

  4. How can I use a Bash-like shell on Windows? - Super User

    I use Linux and a Mac, and I'll be teaching some command line stuff soon. What can I install on Windows to give me a terminal window most similar to a basic Mac/Linux Bash shell? I would like t...

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

    Jan 2, 2012 · Scripts with a .sh suffix are generally Bourne shell scripts (or bash, or ksh, or zsh -- all shells derived from the Bourne shell). (Note that on Unix-like systems, including MacOS, the .sh …

  6. Run bash script from Windows PowerShell - Stack Overflow

    Jul 8, 2009 · There is now a "native" solution on Windows 10, after enabling Bash on Windows, you can enter Bash shell by typing bash: You can run Bash script like bash ./script.sh, but keep in mind that C …

  7. How to run a bash script on wsl with powershell? - Stack Overflow

    May 7, 2022 · On my current directory on Windows, I have the following script file simple_script.sh: #!/bin/bash echo "hi from simple script" I wish to run this script on wsl via the powershell …

  8. How do I use Bash on Windows from the Visual Studio Code integrated ...

    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?

  9. Run bash command in a windows batch file - Stack Overflow

    Press Restart now. BASH will be available in the Command Prompt as well as your PowerShell. Execute bash script files Open Command Prompt and go to the folder that contains your .sh file. Type Bash …

  10. Single script to run in both Windows batch and Linux Bash?

    Jul 7, 2013 · Here's a full, dual-compatible program that runs in Windows cmd.exe and in Bash, either in Git Bash in Windows, or in Bash in Linux. In Windows, this program updates the PATH for the …