About 473,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 do I run a shell script without using "sh" or "bash" commands?

    295 I have a shell script which I want to run without using the "sh" or "bash" commands. For example: Instead of: sh script.sh I want to use: script.sh How can I do this? P.S. (i) I don't use …

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

  5. 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.

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

    Sep 23, 2010 · The new way to execute external scripts is with the run function, which runs the command described by the arguments. It waits for the command to complete, and then returns …

  7. shell - How to run a command in the background and get no …

    165 I wrote two shell scripts a.sh and b.sh. In a.sh and b.sh I have a infinite for loop and they print some output to the terminal. I want to write another script which calls both a.sh and b.sh but I …

  8. Shell Script: Execute a python program from within a shell script

    Here I have demonstrated an example to run python script within a shell script. For different purposes you may need to read the output from a shell command, execute both python script …

  9. How to make a file (e.g. a .sh script) executable, so it can be run ...

    Dec 16, 2012 · The OP asked "how to make script.sh executable. While you can do that, the original intent of the .sh suffix was to allow you to have a "source" and and "object" file.

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