Éditeurs et shellCLI Manual
$export
Set and export environment variables to child shell processes.
Syntaxe de la commandePOSIX Standard
export [NAME[=VALUE]...]Essayer en direct dans le bac à sable interactif
Simulation côté client sans installation avec retour instantané.
bash — terminal
AST Sandbox (Free)
Aperçu et fonctionnement
`export` marks shell variables to be exported to the environment of subsequently executed child commands and subshells.
Options et drapeaux courants
| Flag / Option | Description |
|---|---|
| -p | Display a list of all exported variables in the current shell. |
Exemples pratiques du monde réel
#1Export an environment variable
export NODE_ENV=production && echo $NODE_ENVSets NODE_ENV to production and verifies with echo.
Commandes Linux associées
$echoTraitement de texte
Print text strings or write data to files using shell redirection.
$nanoÉditeurs et shell
Simple, user-friendly in-terminal text editor.
$vimÉditeurs et shell
Highly configurable, powerful modal text editor.
$cowsayÉditeurs et shell
Generate an ASCII art picture of a cow with a message speech bubble.
$figletÉditeurs et shell
Generate large text banners using ASCII art characters.