Ravi Sir's Cards › AWS
export vs set
This revision card explains export vs set. It starts from the need that programs read settings from env. It describes NAME=value: this shell only. The how-to section notes export — children see it. An example on the card is export a value.
Read card text
What this card says
Why do we need it?
Programs read settings from env.
What is it?
NAME=value: this shell only.
How to do it
export: children see it.
Example
Export a value.
export APP_ENV=production