Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Nov 172010

Change user's timezone setting


User can have their own timezone setting.

1. Firstly, you need to find out the timezone string by selecting interactively using the command tzselect command.

2. Append the string to the file ~/.profile


# echo " TZ='Asia/Hong_Kong'; export TZ" >> ~/.profile

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>