Editores y shellCLI Manual
$export
Set and export environment variables to child shell processes.
Sintaxis del comandoPOSIX Standard
export [NAME[=VALUE]...]Prueba en vivo en la terminal interactiva
Simulación del lado del cliente sin instalación y con respuesta inmediata.
bash — terminal
AST Sandbox (Free)
Descripción general y funcionamiento
`export` marks shell variables to be exported to the environment of subsequently executed child commands and subshells.
Opciones y banderas comunes
| Flag / Option | Description |
|---|---|
| -p | Display a list of all exported variables in the current shell. |
Ejemplos prácticos del mundo real
#1Export an environment variable
export NODE_ENV=production && echo $NODE_ENVSets NODE_ENV to production and verifies with echo.
Comandos de Linux relacionados
$echoProcesamiento de texto
Print text strings or write data to files using shell redirection.
$nanoEditores y shell
Simple, user-friendly in-terminal text editor.
$vimEditores y shell
Highly configurable, powerful modal text editor.
$cowsayEditores y shell
Generate an ASCII art picture of a cow with a message speech bubble.
$figletEditores y shell
Generate large text banners using ASCII art characters.