Quick Answer: How Do I Get a Program to Start Automatically in Linux?

Quick Answer: How Do I Get a Program to Start Automatically in Linux?
Contents

How do I make a program open automatically?

Select the Start button, then select Settings > Apps > Startup. Make sure any app you want to run at startup is turned On. If you don’t see the Startup option in Settings, right-click the Start button, select Task Manager, then select the Startup tab.

How do I autorun a script in Linux?

There is more than one way to do this.

  1. Put the command in your crontab file. The crontab file in Linux is a daemon that performs user-edited tasks at specific times and events. …
  2. Put a script containing the command in your /etc directory. Create a script such as “startup.sh” using your favorite text editor. …
  3. Edit the /rc.
Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.