Glam Prestige Journal

Bright entertainment trends with youth appeal.

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

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy