6

I want to find out how to run a script made by me at startup before login.

1 Answer 1

8

To run a script at startup of Ubuntu, before login, you would edit /etc/rc.local and add your desired commands. Make sure that the script ends with exit 0. LSS

1
  • This doesn't work for Ngrok on Raspberry Pi. I still have to login before the command is executed. Aug 7, 2016 at 21:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .