I cannot find anything about how to import a single variable into a bash script. Is importing a variable from another file the only way to do this? I imagine I would create a temporary file temp.txt that had the line...
MYTEMPVAR=something
I would like to be able to trigger the bash script from a form, so every time the bash script was called it would have a different value. Can this be done?