[ILUG] .profile not setting env vars

Glenn Wearen glenn.wearen at columba.com
Wed Nov 28 18:36:09 GMT 2001


> > why the #! at the start of a .profile... I would've thought this was
> > unnecessary..

unnecessary but informative (note typo in first mail #!/usr/bash ->
#!/bin/bash)

> especially when you consider how mad it would be to have bash live
> at /usr/bash
> 
> anyway, 
> 
> 	export FOO=bar
> 
> works fine for me. As does:
> 
> 	FOO=bar; export FOO

works for me too -but not in .profile.
anyway, I noticed that there was a .bash_profile overiding .profile -problem
solved




More information about the ILUG mailing list