[98270] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: Running a C program

daemon@ATHENA.MIT.EDU (Charles Galpin)
Sat Nov 7 21:47:55 1998

Date: Sat, 7 Nov 1998 21:44:17 -0500
From: Charles Galpin <cgalpin@lighthouse-software.com>
To: Ronnie Thum <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

add ":.". the : is the seperator between the different dirs in you path

running

. $HOME/.bash_profile

will make the change take effect, or relogin if need be.

FYI, to change any env var in bash, simply type

export VAR=value

so for this it would be

export PATH=$PATH:.

charles

===== Original Message from Ronnie Thum <redhat-list@redhat.com> at 11/07/98 
9:37 pm
>On Sat, 7 Nov 1998, Charles Galpin wrote:
>
>> With that said, edit your $HOME/.bash_profile and add . to the END of your
>> path. this is considered safer.
>>
>   My PATH line looks like this >> PATH=$PATH:$HOME/bin
>   How do I add the . to the end ? Eg. PATH=$PATH:$HOME/bin.
>   Do I need to reboot ?
>
>Ronnie
>
>
>--
>  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>		http://www.redhat.com http://archive.redhat.com
>         To unsubscribe: mail redhat-list-request@redhat.com with
>                       "unsubscribe" as the Subject.

-- Charles Galpin   <cgalpin@lighthouse-software.com>


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post