LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-15-2008, 11:17 AM   #1
sakthi_sarathi
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
Linux User Profile...


How to set environment variables and PATH directories permanently to a user profile? Also how can I incorporate that in script?

Thanks,
Sakthi
 
Old 02-15-2008, 11:47 AM   #2
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
They can be added to different files, depending on when you want them to be executet. There is a description of the different files near the bottom of
Code:
man 1 bash
 
Old 02-16-2008, 09:34 PM   #3
geek745
Member
 
Registered: Jul 2004
Location: Boston, MA
Distribution: Slackware; Ubuntu; Slax
Posts: 172
Blog Entries: 2

Rep: Reputation: 34
Yes, you will need to look in files like ~/.cshrc, ~/.profile, ~/.bash_profile, ~/.login, etc

/etc/profile should set things system-wide

Again, refer to the manpages; that's what they are for

***remember to BACKUP these files before editing***
 
  


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
system profile vs user profile bonito SUSE / openSUSE 3 06-28-2006 01:02 PM
Load kde profile from /mnt/removable/user instead of /home/user preacher.ca Linux - General 3 12-02-2005 03:00 PM
user profile ust Linux - Software 1 10-04-2005 07:01 AM
How do I create a default user profile in Linux Sm1ler Linux - General 2 07-01-2004 07:35 AM
user profile nautilus_1987 LQ Suggestions & Feedback 2 09-01-2002 04:03 AM


All times are GMT -5. The time now is 08:13 AM.

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