shell script to set time and date on ubuntu

Posted by glapo on Ask Ubuntu See other posts from Ask Ubuntu or by glapo
Published on 2013-11-11T17:20:32Z Indexed on 2013/11/13 16:17 UTC
Read the original article Hit count: 394

Filed under:

my desktop CMOS battery is not working, therefore I have to set time and date each time my computer starts up. I want to create a shell script to automate the setting of date and time on my computer after each boot is complete. options that exist include: 1. buying a CMOS battery :- am considering this, but for the meantime a shell script will do. 2. using NTP to synchronize time and date with internet servers :- am not connected to the internet.

© Ask Ubuntu or respective owner

Related posts about shell-scripting