run shell script after reboot once init.d code example Example: how to make a script run on boot linux crontab -e @reboot /home/user/test.sh