LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-07-2002, 10:33 PM   #1
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Rep: Reputation: 30
Unhappy .bashrc,profile.local


I've just installed SuSE 7.3 Personal. I'm trying to get rp-pppoe running properly, but I have to edit my PATH. Sources tell me to looking in my .bashrc file. The first sentence is "#Sample .bashrc for SuSE Linux". OK, it tells me to look at .profile, same thing, it's a Sample.

/etc/profile, exists, btu recommends that I edit /etc/profile.local for personal (local) settings. The file does not exist on my computer???

Can anyone explain what is going on? My goal is to edit my PATH. But the files I'm told to edit don't have it? Honest

Thanks

Erik
 
Old 01-08-2002, 06:22 AM   #2
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
there are plently of places to put it. i'm not sure quite what profile.local is meant to do, ive not come across it, but i guess it's meant to init non networking based settings. maybe. you can edit any file out of:

~/.bashrc
/etc/bashrc
/etc/profile
/etc/rc.local

and a few others, and they will all effect your path if you tell them to, just at different levels and such. add the following line to the one you want.

export PATH=$PATH:/new/place/to/add/to/path
 
  


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
/etc/profile V.S. /etc/bashrc Takayuki Linux - General 12 05-18-2011 12:25 AM
/etc/profile vs /etc/bashrc maybbach Linux - Newbie 6 04-22-2005 10:50 AM
/etc/profile vs. /etc/bash.bashrc jbrashear Debian 3 03-11-2004 04:49 PM
RH9 bashrc and profile magnusprime Red Hat 5 09-01-2003 06:32 PM
Where's my .bashrc or .profile t1mc00per Linux - Software 6 03-03-2003 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 02:36 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
Open Source Consulting | Domain Registration