[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: path



As I wrote before, I'd forgotten to attach /etc/profile, but if you look at my
second message with the attachment, you'll see that I did export the path after
setting it. So that's not the problem.

On 23-Nov-2000 Sagi Bashari wrote:
> you forgot to export it.
> 
> change PATH="" to export PATH="/usr/bin:blah:etc"
> or just add export PATH after you set it.
> 
> On Thu, 23 Nov 2000 solomon@barak-online.net wrote:
> 
>> Thanks for the suggestion, but it doesn't work. It seems Mandrake handles
>> the path differently. I'm attaching /etc/profile. Notice that at the end of
>> the
>> file I added the PATH line. I also put in an ECHO so I'd know if it was
>> working. I do get the echo and the path **seems** to now include the added
>> directory I wanted.
>>
>> But, when I type **echo $PATH** in a terminal window (after seeing the
>> echoed
>> line), the path **does not** include my directory. Another strange thing is
>> that in the original Mandrake /etc/profile there's another PATH line (5
>> lines
>> before the end). This line adds /usr/games to the path, but also has no
>> effect.
>>
>>
>> On 12-Nov-2000 Sagi Bashari wrote:
>> > Simple, add that line to /etc/profile.
>> >
>> > On Sun, 12 Nov 2000 solomon@barak-online.net wrote:
>> >
>> >> Hi,
>> >>
>> >> This is going to sound like a silly question, but after looking in every
>> >> HOWTO
>> >> I could think of and even on the net, I still can't find the answer to
>> >> what
>> >> must be a very trivial question.
>> >>
>> >> How do I add a directory to the PATH? I want to add a directory that
>> >> contains
>> >> all sorts of scripts I use regularly. I tried:
>> >>
>> >> PATH=$PATH:/data1/perl; export PATH
>> >>
>> >> but that only adds the directory to the terminal session I'm in - I want
>> >> this
>> >> **always** added to the path when I boot.
>> >>
>> >> TIA
>> >>
>> >> //-------------------------
>> >> Shlomo Solomon
>> >> E-Mail: solomon@barak-online.net
>> >> http://come.to/shlomo.solomon
>> >> Date: 12-Nov-2000   Time: 19:01:34
>> >>
>> >> Message sent by XFMail on a LINUX Mandrake 7.0 machine
>> >> //-------------------------
>> >>
>> >> =================================================================
>> >> To unsubscribe, send mail to linux-il-request@linux.org.il with
>> >> the word "unsubscribe" in the message body, e.g., run the command
>> >> echo unsubscribe | mail linux-il-request@linux.org.il
>> >>
>> >>
>> >
>> >                _
>> >  ___ __ _ __ _(_)     Sagi Bashari
>> > (_-</ _` / _` | |      - sagi@aresworld.net
>> > /__/\__,_\__, |_|
>> >          |___/
>> >
>> >
>> > =================================================================
>> > To unsubscribe, send mail to linux-il-request@linux.org.il with
>> > the word "unsubscribe" in the message body, e.g., run the command
>> > echo unsubscribe | mail linux-il-request@linux.org.il
>>
>> //-------------------------
>> Shlomo Solomon
>> E-Mail: solomon@barak-online.net
>> http://come.to/shlomo.solomon
>> Date: 23-Nov-2000   Time: 16:59:38
>>
>> Message sent by XFMail on a LINUX Mandrake 7.2 machine
>> //-------------------------
>>
>> =================================================================
>> To unsubscribe, send mail to linux-il-request@linux.org.il with
>> the word "unsubscribe" in the message body, e.g., run the command
>> echo unsubscribe | mail linux-il-request@linux.org.il
>>
>>
> 
>                _
>  ___ __ _ __ _(_)     Sagi Bashari
> (_-</ _` / _` | |      - sagi@aresworld.net
> /__/\__,_\__, |_|
>          |___/

//-------------------------
Shlomo Solomon
E-Mail: solomon@barak-online.net
http://come.to/shlomo.solomon
Date: 23-Nov-2000   Time: 17:25:37

Message sent by XFMail on a LINUX Mandrake 7.2 machine
//-------------------------

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il