I need some help with running commands on system startup.
So, I need these two commands to be executed every time I start my machine, due a problem with my Realtek driver (doesn't really matter):
sudo ifconfig myCode up
sudo service network-manager restart
How do I manage that to work?
I'm getting confused with sudo command and not knowing when will I enter my password or will the script even be run. Sorry for my low knowledge of Ubuntu system.
Thank you for your time!