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

    May 1, 2011 · Whenever I open a .sh file, it opens it in gedit instead of the terminal. I can't find any option similar to Right Click → Open With → Other Application... → Terminal. How do I open this file …

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

  3. 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 execute .sh files …

  4. executable - How to run .sh file - Ask Ubuntu

    Apr 16, 2017 · By default the file manager may not show that option and open the file in gedit instead. In that case change the preference of the file manager at: Edit-> Preferences -> Behaviour to "ask each …

  5. How to open bash files with terminal? [duplicate] - Ask Ubuntu

    2 To open a bash file for editing (something with an .sh suffix) you can use a text editor like nano. nano filename.sh If you want to run a bash script you can do it in several ways. ./filename.sh or sh …

  6. linux - how to open up .sh extension in ubuntu - Stack Overflow

    Just open a terminal (should be somewhere in your application menu), go to the directory where the .sh file is (command is cd /the/path then Enter) and type: sh yourfile.sh or ./yourfile.sh then Enter.

  7. How do I execute a bash script in Terminal? - Stack Overflow

    If you are in a directory or folder where the script file is available then simply change the file permission in executable mode by doing chmod +x your_filename.sh

  8. How do I run .sh or .bat files from Terminal? - Stack Overflow

    Jun 10, 2013 · Drag-And-Drop Easiest way for a lazy Mac user like me: Drag-and-drop the startup.sh file from the Finder to the Terminal window and press Return. To shutdown Tomcat, do the same with …

  9. How do you make .sh files open with Windows Terminal Ubuntu?

    May 13, 2020 · The default behavior of the double-click of .sh files never really was able to do anything in windows, the .sh file extension isn't even available in the "choose default apps by file type" section …

  10. How do I make this file.sh executable via double click?

    May 3, 2017 · By default, *.sh files are opened in a text editor (Xcode or TextEdit). To create a shell script that will execute in Terminal when you open it, name it with the “command” extension, e.g., …