Closed mahahahad closed 3 months ago
Export an environment variable allowing it to be used by any other process.
On its own, export will SORT by ascending-order and print all the environment variables following the format:
declare -x key="value" declare -x no_value_key
Export accepts multiple key-value pairs allowing users to set multiple environment variables in one command itself.
Calling export with only a key and no value results in an empty environment variable being created.
Built-in: export
Export an environment variable allowing it to be used by any other process.
On its own, export will SORT by ascending-order and print all the environment variables following the format:
Export accepts multiple key-value pairs allowing users to set multiple environment variables in one command itself.
Calling export with only a key and no value results in an empty environment variable being created.