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

Answer:

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

E.g.

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