Import variable

Can i import a value of a variable in a different related script.

yes, you can..

just give us some sample requirement that you need please.!!!.

Thanks
Sha

Hi,

Yes you can.

Suppose you have some variables which you want to use in file1.sh.
Now to import those variables in file2.sh what you need to is just run the file1.sh in your file2.sh.

cat file2.sh

-----------
./file1.sh

This will do for you.

Thanks
NT