logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Export Shell Variables - Control Environment | Online Free DevTools by Hexmos

Control environment variables with the export command. Set, unset, and manage environment variables for child processes easily. Free online tool, no registration required.

export

Export shell variables to child processes. More information: https://www.gnu.org/software/bash/manual/bash.html#index-export.

  • Set an environment variable:

export {{VARIABLE}}={{value}}

  • Unset an environment variable:

export -n {{VARIABLE}}

  • Export a [f]unction to child processes:

export -f {{FUNCTION_NAME}}

  • Append a pathname to the environment variable PATH:

export PATH=$PATH:{{path/to/append}}

  • Display a list of active exported variables in shell command form:

export -p

See Also