About 478,000 results
Open links in new tab
  1. command line - How do I run .sh scripts? - Ask Ubuntu

    May 1, 2011 · 112 You need to mark shell scripts as executable to run them from the file manager: Right click on your .sh file and select Properties: In the Permissions tab, check Allow …

  2. How to run a shell script on a Unix console or Mac terminal?

    Apr 9, 2009 · How to run a shell script on a Unix console or Mac terminal? Asked 16 years, 7 months ago Modified 4 years, 11 months ago Viewed 1.2m times

  3. How to call one shell script from another shell script?

    I have two shell scripts, a.sh and b.sh. How can I call b.sh from within the shell script a.sh?

  4. 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 …

  5. How to run .sh on Windows Command Prompt? - Stack Overflow

    Oct 23, 2014 · you need cygwin (possibly). You are trying to run SHELL (.sh) scripts on Windows and that's the only way I've run my .sh files on Windows.

  6. windows - How to run a PowerShell script - Stack Overflow

    it absolutely answers the question: how do I run a powershell script? answer: startup powershell console, then execute the script. easy. simple. Works on Linux also.

  7. Run bash script from Windows PowerShell - Stack Overflow

    Jul 8, 2009 · 89 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 …

  8. linux - How to run a shell script at startup - Stack Overflow

    Oct 19, 2012 · How to run a shell script at startup Asked 13 years ago Modified 1 year, 4 months ago Viewed 1.6m times

  9. How to echo shell commands as they are executed - Stack Overflow

    May 18, 2010 · In a shell script, how do I echo all shell commands called and expand any variable names? For example, given the following line: ls $DIRNAME I would like the script to run the …

  10. How can I call a shell script from Python code? - Stack Overflow

    Sep 23, 2010 · Hi Ankit. I need some help on this. Assume the example.sh file is in Oracle cloud infrastructure. How can call/run such example.sh file in python? I need to connect to the oracle …