Linux & Shell · Command
export
export marks shell variables for inclusion in the environment of later commands. It can also assign a value, and export -p prints exported variables in a form suitable for restoring them.
Last updated
Syntax
export name [ = word ] ...
export -pIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
environexecveforksetenvunsetenvman