This is a basic command in unix systems. It allows us to “export” the environment variables.
The term “exports” basically means that we can set a group of vars for our session, making them available for the rest of our programs (and any spawned child processes). This includes things like like paths, programs settings, environment specific variables, etc.
Examples:
export -p : Will show the variables in the actual session
export : will show all the exported variables
export name=value : will export a variable named “name”. To read the value you can do:
echo $name
As always read the docs for more info