11

[ubuntu] Exporting/Importing variable

view full story
linux-howto

http://ubuntuforums.org – Hi. Let's say that we have a variable called a and that we export it the terminal something like this : export package=tree; After that we have a script that does something( it doesn't matter in this problem) , and during the script i modified the varible package like thie: package=1. But when i return to the terminal and i do a echo package, it remains the same: package=tree. What can I do if I want like the variable to be changed and visible outside the script, not only there. Also I attached a example of what I want to say. Attached Images Scr (Hardware)