Monday, August 14, 2017

Linux Red Hat - change timezone

Set Date&Time as needed:
 

1. List all available timezones:
timedatectl list-timezones

2. Update timezone and check:

echo 'ZONE="Europe/Madrid"' > /etc/sysconfig/clock && ln -sf /usr/share/zoneinfo/Europe/Madrid /etc/localtime && date

No comments:

Post a Comment