To set environment variable, i am doing source in (by using the below command) whenever i start to work in my Linux Working environment
. /opt/kmc/pbs/env/1.1/etc/setup.env rev.52
When add the this line(". /opt/kmc/pbs/env/1.1/etc/setup.env rev.52") in to my shell script
Its not running, it returns some error. I created alias also. even though not able to execute this.
alias test='. /opt/kmc/pbs/env/1.1/etc/setup.env rev.52'
test
So how can i do "source in" with in script instead of giving this command manually