Hi, I would like to set up an environmental variable and use that variable inside a script so that I need not hardcode the path. To do this, I set a variable called 'testpath' in the .login and I tried to do a echo of this testpath inside a script. But it says
testpath: Undefined variable
p.s I tried to put the variable entry in .profile too but no luck.Your help appreciated. Thanks.
testpath: Undefined variable
p.s I tried to put the variable entry in .profile too but no luck.Your help appreciated. Thanks.