Environment variables: Difference between revisions

→‎{{header|UNIX Shell}}: These things are Unix standard, not bash-specific. The env utility does not print to "the screen". Mention the export command.
(add link to Delphi for pascal)
(→‎{{header|UNIX Shell}}: These things are Unix standard, not bash-specific. The env utility does not print to "the screen". Mention the export command.)
Line 491:
 
=={{header|UNIX Shell}}==
In Bash,the youUnix canShell use theLanguage, environment variable like other variables inare Bash;available foras exampleordinary to print it out, you can dovariables:
<lang bash>echo $HOME</lang>
An ordinary variable can be marked as an environment variable with the <code>export</code> command:
In Bash, the "env" command will print out all the key=value pairs to the screen.
<lang bash>export VAR</lang>
Now child processes launched by the shell will have an environment variable called <code>VAR</code>.
 
InThe Bash,Unix thecommand "env" command will print out all of the environment variables as key=value pairs toon thestandard screenoutput.
 
=={{header|Ursala}}==
Anonymous user