filmov
tv
How to Use Linux Bash Command -- export (environment variable)

Показать описание
The export command is one of the bash shell BUILTINS commands, which means it is part of your shell. The export command is fairly simple to use as it has straightforward syntax with only three available command options. In general, the export command marks an environment variable to be exported with any newly forked child processes and thus it allows a child process to inherit all marked variables.
1. -p
List of all names that are exported in the current shell
2. -n
Remove names from export list
3. -f
Names are exported as functions
1. -p
List of all names that are exported in the current shell
2. -n
Remove names from export list
3. -f
Names are exported as functions