Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: ucanzeee on 09 September 2020, 05:32:54

Title: How to set time, with internet and without internet?
Post by: ucanzeee on 09 September 2020, 05:32:54
I had my bios chip damaged yesterday. So wrong time=no internet allowed by sites. So no searching for commands in the internet. I had a hard time fixing it. There was this command I used, hwcl something. What was it?

Also if I have internet, how do I incorrect the time?
Title: Re: How to set time, with internet and without internet?
Post by: alium on 09 September 2020, 05:44:56
date -s "9 SEP 2020 8:00:00"
hwclock --systohc

Or install ntp package and his service and run it.