I want to set environment variable in linux and did the same by giving command
export PATH=$PATH:.
But getting error Bad : modifier in $ (.).
Can some one help this. I tried with bash shell and ksh
You might want to try this:
export PATH="${PATH}:."
I don't like having the current directory in the path, but at the end it's fairly safe.
export PATH=".:${PATH}"
and called a programm he wrote test
....
Apr 26, 2013 at 11:33