I come from a windows background and in windows there was .bat files that could run commands automatically. Now since I have swiched to linux (Ubuntu) i beilieve it does not support .bat files, so I was wondering can someone please help me create a script which when run, will do the following:
sudo ntpdate ntp.ubuntu.com pool.ntp.org
Automatically enter the system password:
Thanks for any help.