En los shells Bourne y Korn, puede utilizar el nombre de variable en mayúscula que es igual a algún valor para definir tanto variables de shell como de entorno.
In the Bourne and Korn shells, you can use the uppercase variable name equal to some value to set both shell and environment variables.
Además de las variables de shell normales que son únicamente válidas dentro del programa en shell hay también variables de entorno.
Besides the normal shell variables that are only valid within the shell program there are also environment variables.
Hay dos tipos de variables de shell: variables locales y variables de entorno.
There are two distinct ways to deal with environment variables.
En los shells Bourne y Korn, puede utilizar el nombre de variable en mayúscula que es igual a algún valor para definir tanto variables de shell como de entorno.
In the Bourne and Korn shells, you use the uppercase names with the setenv command to set both shell and environment variables.
Alte rezultate
Write-Warning: Se detuvo la ejecución del comando porque la variable de shell "WarningPreference" está establecida en Stop.
Write-Warning: Command execution stopped because the shell variable "WarningPreference" is set to Stop.
Por ejemplo, si actualiza la variable de shell path con una nueva ruta, el shell también actualiza la variable de entorno PATH con la nueva ruta.
For example, if you update the path shell variable with a new path, the shell also updates the PATH environment variable with the new path.
Cuando una opción requiere un argumento, " "getopts coloca ese argumento en la variable de shell OPTARG. " " " "getopts reporta errores en una de las dos formas siguientes.
When an option requires an argument, " "getopts places that argument into the shell variable OPTARG. " " " "getopts reports errors in one of two ways.
La variable de entorno SHELL para todos los programas excepto para Session.
The SHELL environment variable for all programs but the Session.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple