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:
1. Run Command:2. Automatically enter the system password:Code:
sudo ntpdate ntp.ubuntu.com pool.ntp.org
Thanks for any help.