Pass Variable from inside a shell script to be used outside
6241
How can I make environment variables "exported" in a shell script stick around?
8641
Which are the (Bash) shell special parameters/variables?
133631
how to source a shell script [environment variables] in perl script without forking a subshell?
135008
Using shell variables for command options
62241
How do I set a variable to the output of a command in Bash?
28456
How to refer variable defined in sub shell in parent shell
109812
Issue an error when using empty shell variables
50675
Pass a variable to a PHP script running from the command line
76713
How do I get a variable's value from one script and import it in another script?
74331
Are there naming conventions for variables in shell scripts?
67294
Shell variables in sed script
140247
How to store output command in variable and use this varible again for next command after pipe
95926
Can I use pipe output as a shell script argument?
136256
How to pass command line arguments to a shell alias?
148295
Shell variable $_ not behaving as expected
82406
Allow www-data to execute shell script
138448
Input from within shell script