Re: Why can't I run my program (how do i set ./ on the path permanently)
hi wendell..
> > I indeed needed to type "./hello"! I knew it was simple! Now, another
> > stupid question for you... How do I add "./" to my path on startup? Also,
> Assume you are using bash, put the following line in ~/.bash_profile
>
> export PATH=${PATH}:.
I explicity define PATH in ~/.bashrc
for users...
export PATH="/usr/local/bin:/bin:/usr:/bin:."
and for root...I set a different PATH...
to see what the PATH variable points to:
you#> set | grep PATH
have fun
alvin
Reply to: