LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-01-2014, 11:53 PM   #1
ASTRAPI
Member
 
Registered: Feb 2007
Posts: 210

Rep: Reputation: 16
Question 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
 
Old 12-02-2014, 03:53 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,602

Rep: Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532
Hi,

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


Regards
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris or linux how to edit my Profile easily ? fatou Linux - Newbie 3 07-03-2014 10:08 PM
[SOLVED] Timezone problems CentOS 6 lqmp Linux - Newbie 1 12-22-2013 03:40 AM
How do I edit my profile? Ingla LQ Suggestions & Feedback 5 11-15-2005 10:28 PM
Edit /ect/profile with root? Tony33221 Linux - Security 11 09-04-2005 07:02 PM
How do I edit .profile? orly Linux - Software 3 08-19-2004 02:50 PM


All times are GMT -5. The time now is 09:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration