Monday, May 28, 2012

How to Change TimeZone Using /etc/localtime File in redhat linux


---showing current time and timezone
# date

---Remove current localtime zone file
# cd /etc
# rm localtime

---Find out your time Zone information or name
# ls /usr/share/zoneinfo/Asia/

---Create an link to file localtime
# cd /etc
# ln -s /usr/share/zoneinfo/US/Pacific localtime

---at last show date and timezone again
# date

No comments: