Datasheet/Timedatectl
Aller à la navigation
Aller à la recherche
__NOTITLE__
Timedatectl
Gestion de la date/heure et du fuseau horaire
timedatectl [OPTIONS...] COMMAND ...
Query or change system time and date settings.
-h --help Show this help
--version Show package version
--adjust-system-clock
Adjust system clock when changing local RTC mode
--no-pager Do not pipe output into a pager
-P --privileged Acquire privileges before execution
--no-ask-password Do not prompt for password
-H --host=[USER@]HOST Operate on remote host
Commands:
status Show current time settings
set-time TIME Set system time
set-timezone ZONE Set system timezone
list-timezones Show known timezones
set-local-rtc BOOL Control whether RTC is in local time
set-ntp BOOL Control whether NTP is enabled
Visualisation de la date/heure et du fuseau horaire
timedatectl
Local time: ven. 2014-11-14 15:27:55 CET
Universal time: ven. 2014-11-14 14:27:55 UTC
RTC time: ven. 2014-11-14 14:27:55
Timezone: Europe/Paris (CET, +0100)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: no
Last DST change: DST ended at
dim. 2014-10-26 02:59:59 CEST
dim. 2014-10-26 02:00:00 CET
Next DST change: DST begins (the clock jumps one hour forward) at
dim. 2015-03-29 01:59:59 CET
dim. 2015-03-29 03:00:00 CEST
Changer la date/heure ou le fuseau horaire
- Modification permanente de la date
timedatectl set-time 2014-10-26
- Modification permanente de l'heure
timedatectl set-time 02:59:59
- Modification permanente du fuseau horaire
timedatectl set-timezone Europe/Paris
- Activation de la mise à l'heure automatique
timedatectl set-ntp yes
Désactivation de la mise à l'heure automatiquetimedatectl set-ntp no
