Comments on: How to Use Variables in Shell Scripting https://www.linuxtechi.com/variables-in-shell-scripting/ Tue, 04 Oct 2022 04:31:06 +0000 hourly 1 By: nagendra kumar https://www.linuxtechi.com/variables-in-shell-scripting/#comment-22997 Sun, 25 Apr 2021 03:49:56 +0000 http://www.linuxtechi.com/?p=2357#comment-22997 Nicely explained and quite helpful.. thanks

]]>
By: Mike https://www.linuxtechi.com/variables-in-shell-scripting/#comment-131 Sun, 17 Aug 2014 21:35:21 +0000 http://www.linuxtechi.com/?p=2357#comment-131 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?

]]>