How do I run a Linux script from startup?

Như Quỳnh

New member
How do I run a Linux script from startup?
Answer
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.
 

Tìm kiếm

Back
Top