How to use variables in shell Scripting

Pradeep Kumar

I am a huge fan of open source and love to share How To’s tutorials on Linux, Cloud and DevOps. I have been working as Linux Consultant, Cloud & DevOps Engineer since 2010

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 *