Editoren & ShellCLI Manual
$export
Set and export environment variables to child shell processes.
BefehlssyntaxPOSIX Standard
export [NAME[=VALUE]...]Live im interaktiven Terminal ausprobieren
Client-seitige Simulation ohne Installation mit sofortigem Feedback.
bash — terminal
AST Sandbox (Free)
Überblick & Funktionsweise
`export` marks shell variables to be exported to the environment of subsequently executed child commands and subshells.
Wichtige Optionen und Flags
| Flag / Option | Description |
|---|---|
| -p | Display a list of all exported variables in the current shell. |
Praktische Anwendungsbeispiele
#1Export an environment variable
export NODE_ENV=production && echo $NODE_ENVSets NODE_ENV to production and verifies with echo.
Verwandte Linux-Befehle
$echoTextverarbeitung
Print text strings or write data to files using shell redirection.
$nanoEditoren & Shell
Simple, user-friendly in-terminal text editor.
$vimEditoren & Shell
Highly configurable, powerful modal text editor.
$cowsayEditoren & Shell
Generate an ASCII art picture of a cow with a message speech bubble.
$figletEditoren & Shell
Generate large text banners using ASCII art characters.