The BIOS clock or "Real Time Clock" is battery backed up and keeps the date and time when the computer is powered down. The /sbin/hwclock program retrieves and sets the BIOS clock.The proper way is on the boot command line as shown:Ĭp /usr/share/zoneinfo/Europe/Amsterdam /etc/localtimeĬreates a persistent /etc/localtime file stored in the underlying /KNOPPIX-DATA/etc/localtime filesystem.# symbolic link /etc/localtime is removed on reboot Ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime The KNOPPIX live CD's persistent image removes a symbolic link on reboot, so the otherwise perfect example fails on reboot:.This will set up everything correctly in very few, simple steps. On systems that use dpkg (for example Debian and Ubuntu/Kubuntu), you should try "sudo dpkg-reconfigure tzdata".vi /etc/sysconfig/clock and change the UTC line to: "UTC=true".Edit this file manually or use echo (for instance, echo GMT0BST > /etc/TZ to set the the timezone of the United Kingdom). It is written in /etc/TZ, in the format that is described, for instance, in. On mobile phones and other small devices that run Linux, the time zone is stored differently.On some versions of RedHat Linux, Slackware, Gentoo, SuSE, Debian, Ubuntu, and anything else that is "normal", the command to display and change the time is 'date', not 'clock'.Note: As of April 2007, NIST announced it would phase out support for RFC-868 (scroll to the bottom of to see the announcement). A list of public RFC-868 servers can be found at. The time server parameter for rdate can be any public server that supports the RFC-868 time protocol.On RedHat Linux there is a utility called "Setup" that allows one to select the timezone from a list, but you must have installed the 'redhat-config-date' package.There are a variety of public time servers available to connect to.Enter the ntpdate command: ntpdate & hwclock –w.
#How to change timezone linux install#
Select your location on the world map.Depending on your distribution, you may have to select a timezone tab first. Click your currently selected timezone.The menu options are similar for most Linux distributions. Alternatively, you can click on the clock and select Time and Date settings from the menu.Click on the System menu and select Administration.