About 172,000 results
Open links in new tab
  1. linux - How to run a shell script at startup - Stack Overflow

    Oct 19, 2012 · 'stop') echo "put something to shutdown or kill the process here";; esac This says that the script must run at levels 3, 4, and 5, and the priority for start/stop is 99 and 10. Then, …

  2. startup - How to run scripts on start up? - Ask Ubuntu

    Aug 5, 2010 · How can I run scripts automatically when Ubuntu starts up so I don't have to run them manually after startup?

  3. linux - How to execute a shell script on startup? - Super User

    20 /etc/init.d is the script directory, in which the executable scripts appear. However, in order to run scripts in a particular order after your system starts, you need to add files to the /etc/rc#.d …

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

  5. what is the best way to start a script in boot time on linux

    Nov 29, 2016 · In the systemd based environment, service is the best option to start your scritp/programs. Note you can set other parameters on when to start your service and add …

  6. autostart - How to add a script to Startup Applications from the ...

    Mar 18, 2015 · I have a shell script. I want to configure my script to run automatically during startup. I know how to do this from GUI. But I wanted to do this from terminal. How can I do …

  7. How to run a script on CentOS Linux startup - Super User

    After adding your script, you need to select which runlevel you want to activate it on: chkconfig --level 35 abc on will activate your script on runlevels 3 and 5, your most common startups. …

  8. linux - Run Python script at startup in Ubuntu - Stack Overflow

    I have a short Python script that needs to run at startup - Ubuntu 13.10. I have tried everything I can think of but can't get it to run. The script: #!/usr/bin/python import time with open("/home/

  9. linux - How can I run a command after boot? - Super User

    Dec 8, 2013 · I would like to run the simple shell command echo 1 > /proc/sys/kernel/sysrq at each boot, to enable the sysrq keys. When in boot should this be done, and where should I put …

  10. How to turn a shell script to startup program? [duplicate]

    Oct 6, 2021 · Man I accidentally deleted the previous comment but anyways I don't get it how do I turn that script to startup program with automatic detach command.

Refresh