mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-24 01:22:10 +02:00

* df, exec, exit, export: fix more info link * df: update outdated Farsi translation --------- Co-authored-by: Mohammad Reza Soleimani <87926618+MrMw3@users.noreply.github.com> Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
20 lines
513 B
Markdown
20 lines
513 B
Markdown
# export
|
|
|
|
> Befehl zum Markieren von Shell-Variablen in der aktuellen Umgebung, die mit allen neu abgezweigten Unterprozessen exportiert werden sollen.
|
|
> Weitere Informationen: <https://manned.org/export.1posix>.
|
|
|
|
- Lege eine neue Umgebungsvariable fest:
|
|
|
|
`export {{variable}}={{wert}}`
|
|
|
|
- Entferne eine Umgebungsvariable:
|
|
|
|
`export -n {{variable}}`
|
|
|
|
- Markiere eine Shell-Funktion für den Export:
|
|
|
|
`export -f {{funktionsname}}`
|
|
|
|
- Hänge etwas an die PATH-Variable an:
|
|
|
|
`export PATH=$PATH:{{pfad/zu/anhängen}}`
|