PATH in /etc/profile

PATH in /etc/profile

Post by Ronald Mast » Fri, 23 May 1997 04:00:00



I am having problems executing files from the current directory.  How
do I include the current directory in the path statement?

 
 
 

PATH in /etc/profile

Post by Paul Jakm » Fri, 23 May 1997 04:00:00


add . to the end of your path. So path looks like.

PATH=$PATH:/whatever/wherever:.

(might be ./ )

Note that this is not a good idea for priviliged users, ie root, and so
you shouldn't put it in the system default profile, but rather in
non-privileged users local profiles.
--


[http://www.strath.ac.uk/~nau95219]


 
 
 

PATH in /etc/profile

Post by Kendall P. Bull » Sat, 24 May 1997 04:00:00


In article


Quote:>I am having problems executing files from the current directory.  How
>do I include the current directory in the path statement?

My path:

PATH=/usr/local/bin:/bin:/usr/bin:.
export PATH

Note that '.' is the current directory.

Kendall

--
Kendall P. Bullen          E-mail: kendall "at" his.com
                              Web: http://www.his.com/kendall/

 
 
 

PATH in /etc/profile

Post by Kendall P. Bull » Sat, 24 May 1997 04:00:00


In article


Quote:>I am having problems executing files from the current directory.  How
>do I include the current directory in the path statement?

My path:

PATH=/usr/local/bin:/bin:/usr/bin:.
export PATH

Note that '.' is the current directory.

Kendall

--
Kendall P. Bullen          E-mail: kendall "at" his.com
                              Web: http://www.his.com/kendall/

 
 
 

PATH in /etc/profile

Post by Brian McCaule » Thu, 05 Jun 1997 04:00:00



> I am having problems executing files from the current directory.  How
> do I include the current directory in the path statement?

The current directory is called "." (that's a single dot).

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/

 
 
 

1. /etc/profile tries to export PATH but fails???

The /etc/profile that comes with Slackware 1.1.54 sets PATH and
then exports it, but it doesn't come through to bash!

I even put an "echo $PATH" into /etc/profile, and /etc/profile
is showing the value of PATH that it's setting up, but when I
type "echo $PATH" from the bash prompt, it gives me something
completely different!

Is this happening to anyone else?  Is there a reason?

Thanks for any help.

Steve Boswell

Television -- tune in, turn on, drop out.

2. Compressed Kernel Help

3. /etc/profile, bashrc, PATH, PS1 and X: What is right?

4. Help me please.

5. ksh not reading /.profile or /etc/profile

6. A few questions

7. Telnet login doesn't run /etc/profile or $HOME/.profile

8. nfs - mount -t nfs host:<dir> <dir>

9. /etc/profile or $HOME/profile

10. cmdtool doesn't source /.profile or /etc/profile

11. KDE won't start if my .profile or /etc/profile has stty commands

12. Not reading /etc/profile or .profile

13. "Screen" prgram: New shells won't read /etc/profile or ~/.profile?