How to Set the Time Zone in Unix

The UNIX operating system was developed by AT&T in the 1960s and has maintained a high level of popularity with users who demand an operating system that is more flexible and more portable than those offered by the more popular Apple and Microsoft corporations. Using UNIX is fairly simple once you get the hang of it. Here's how to set the time zone in UNIX.

Things You'll Need

  • UNIX
  • Computer
Show More

Instructions

    • 1

      Turn your machine on and locate the time zone file. You can do this by entering "command /etc/TIMEZONE."

    • 2

      Locate the line within this file that indicates what time zone you're clock is set to. It will look like this: TZ=US/Pacific. In this example, the time zone is set to the Pacific time zone of the U.S.

    • 3

      Change the value of the time zone to the desired time zone. This could be, for example, U.S./Eastern. It is important to know what time zone you are in so the time zone function can be set correctly.

    • 4

      Reboot your machine for the changes to take effect. Shut down and restart your computer. This will cause the computer's clock to reset and show the correct time zone.

Tips & Warnings

  • Look in the file "/usr/share/lib/zoneinfo/US" to find a list of Unix-accepted values for the time zone line.

  • Do not simply turn your computer off. You must complete an actual UNIX shutdown for your time zone change to take effect.

Related Searches:

Comments

You May Also Like

Related Ads

Featured