Grimoire-
Command
.es

GNU+Linux command memo

Force ntpdate run

Forcer l’exécution d'ntp à la main pour mettre le système à l’heure.

Install and activate ntp with Artix Linux :

# pacman -Syu (1)
# pacman -S ntp-openrc (2)
# rc-update show -v | grep ntp (3)
# rc-update add ntpd default (4)
1 Update all the system (Artix / Arch are rolling-release, all occasions are good to update everything, and it’s a good habit to start by this)
2 Install the ntp package that draws all necessary dependancies and will install OpenRC facilities
3 List services and their machine running states
4 Add ntdp service to run at default machine state

Force ntp time synchronisation :

# ntpdate 0.in.pool.ntp.org