arthur_makowah |
06-15-2014 09:26 AM |
Cannot view or access variables I store in b.a.s.h
I am learning how to program the Bourne Again Shell and right now I am on variables. I declare my variables, and test them with echo, etc. Everything goes well. But as soon as I exit from my terminal, or logout, I can't access these variables anymore. I try to view them with echo but echo displays a blank msg and returns power to the shell. Please help me. I try to make my variables global, or readonly but nothing works. The same thing happens when I change the scope of my CDPATH Varible. Its only temporary. when i exit the shell and open it again, it retrurns to its original value. Im stuck. you can post replies to arthur.makowah@live.com
|