How to automatically run a shell script on startup or reboot in Linux

https://sysadminxpert.com/how-to-execute-script-or-command-on-reboot-or-startup-in-linux/


 $ crontab –e

##Add your script here….

@reboot /your-script-location/script-name.sh

Comments

Popular posts from this blog

Fixing the DeepSpeed Import Error While Fine-Tuning the Qwen Model

Amazon Linux 2023 - User data configuration for launch templates to connect to the EKS cluster

How to create ISM policy and rotate logs in opensearch