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 10-05-2004, 08:26 AM   #1
vlad ilie
LQ Newbie
 
Registered: Oct 2004
Location: Ro
Distribution: SuSE 9.0
Posts: 1

Rep: Reputation: 0
problem with the PATH (help)


Hello , pls help me 'cause it's "sick and tired" .
So i'm trying to modify my PATH to include the "/opt/SUNWappserver" but the - setenv - doesn't quite cut it . My solution was to modify the bash.bashrc.local to include the new PATH but that was then now i want something new . I'm using the SuSE 9.0 Profesional and as you can see am new to Linux .

So i had to change to csh and then setenv the PATH but after restart the PATH was rebuild to the old one .

Help is always apreciated .
 
Old 10-05-2004, 06:45 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
In bash use export instead of setenv. Example:
export PATH=$PATH:/opt/SUNWappserver
That's also the command to add to .bashrc (i your home dir) or /etc/rc.d/rc.local (to make the change global).
 
  


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
qt path problem wmeler Linux - Software 0 05-13-2004 11:20 PM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 07:10 PM
$PATH problem (probably) dave bean Slackware 9 02-17-2004 07:43 PM
PATH problem jhansman Linux - Newbie 18 08-24-2003 02:15 AM
$PATH problem charlie123 Linux - Newbie 3 01-15-2003 05:50 PM


All times are GMT -5. The time now is 08:46 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