I have inside my script = 1.sh: A=1, export AI made the 1.sh = 755
I know if I run: . ./1.sh
then if from command line I will run echo $A it will return 1
so in that case I should have 2 files file1 with VARs, that can be run with . ./file1
then the file 2 with commands
how I can get the VALUEs of VARs, if I have the VARs and commands in 1 file ?
2 Reset to default