How to use variables in shell Scripting

You may also like...

1 Response

  1. Mike says:

    Thanks Pradeep,

    Very good article.

    Question – what is the best way to set variables deep within functions or loops so that the variable can be used after the function completes by other code below the function or loop? I have used system level variables but that means anyone can access them. Is there another way?

Leave a Reply

Your email address will not be published. Required fields are marked *