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

    May 1, 2011 · 6 2 main steps. in terminal, use gedit to write and save script with ".sh" extension to desktop. (but any text editor can be used) open Nautilus and right click the script.sh file. under …

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

    A: To "execute this script" from the terminal on a Unix/Linux type system, you have to do three things: 1. Tell the system the location of the script. (pick one) bash

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

    Oct 19, 2012 · This says that the script must run at levels 3, 4, and 5, and the priority for start/stop is 99 and 10. Then, as user root you can use chkconfig to enable or disable the script at startup:

  4. How can I run a shell script on a Unix console or Mac terminal?

    How can I run a shell script on a Unix console or Mac terminal? I know it, forget it and relearn it again. It is time to write it down.

  5. command line - How do I run a script at start up? - Ask Ubuntu

    Dec 12, 2012 · I have a script in a folder: /path/to/my/script.sh I need this script to run every time the system starts (even if no one logs in to the system). What do I need to do in order to make …

  6. How do I run a shell script without using "sh" or "bash" commands?

    Run the script using just its name, scriptname. If you don't have access to /usr/local/bin then do the following: Create a folder in your home directory and call it bin. Do ls -lA on your home …

  7. How to run a script in the background even after I logout SSH?

    Mar 10, 2022 · I have Python script bgservice.py and I want it to run all the time, because it is part of the web service I build. How can I make it run continuously even after I logout SSH?

  8. command line - How to run a script? - Ask Ubuntu

    The file you've downloaded is a script file writter un shell ( the first line are the interpreter). So to launch it, you have to open a terminal, like root45 said, terminal can be gnome-terminal or …

  9. How to execute script in the current shell on Linux?

    To source the script into the current shell: type the command . script.sh or source script.sh Note: . in bash is equivalent to source in bash. This acts as if you typed in the contents of "script.sh". …

  10. How do I run a 'sudo' command inside a script? - Ask Ubuntu

    Feb 25, 2014 · How you run the script (with regard to sudo) does affect the environment (i.e. available variables), though. This is important in some cases, for example with gsettings.