Linux

Linux Boot Scripts

2

Linux . , ?

, Linux, .

Linux Boot Scripts

Linux

:

1 - cron (cron job)

. Bash .

// // , , cron @reboot. , , .

cron .

:

  • cron
  • crontab ,

2 - /etc/rc.d/rc.local

systemd. , (execute) /etc/rc.d/rc.local :

# chmod +x /etc/rc.d/rc.local

.

, :$ chmod +x /home/gacanepa/script1.sh

Linux

, ~.bash_profile ~.bash_logout . , . , , ,


50% Merion Academy