LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Timezone edit on profile for Centos 6.6 (https://www.linuxquestions.org/questions/linux-newbie-8/timezone-edit-on-profile-for-centos-6-6-a-4175527043/)

ASTRAPI 12-01-2014 10:53 PM

Timezone edit on profile for Centos 6.6
 
Hi

I want to add on Centos 6.6 on the profile my default timezone:

Code:

nano /etc/profile
and then add this:

Code:

TZ='Europe/Paris'; export TZ
But where exactly i must add it?

Is it ok to add it at the bottom like this?

Code:

        else
            . "$i" >/dev/null 2>&1
        fi
    fi
done

unset i
unset -f pathmunge
TZ='Europe/Paris'; export TZ

Thanks

bathory 12-02-2014 02:53 AM

Hi,

Yes, you can set TZ in the bottom of /etc/profile.


Regards


All times are GMT -5. The time now is 07:03 AM.