I wanted to run a command on our linux after its done rebooting, I saw that it can be done using crontab. I wanted to run this command
sudo ifdown eth0 && sudo ifup -v eth0
on the crontab can i just do:
@reboot sudo ifdown eth0 && sudo ifup -v eth0
or do i need to store that in a script?