logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

Unset Variables - Remove Shell Variables | Online Free DevTools by Hexmos

Remove shell variables with Unset. Easily delete variables and functions in your shell environment. Free online tool, no registration required.

unset

Remove shell variables or functions. More information: https://www.gnu.org/software/bash/manual/bash.html#index-unset.

  • Remove the variable foo, or if the variable doesn’t exist, remove the function foo:

unset {{foo}}

  • Remove the variables foo and bar:

unset -v {{foo}} {{bar}}

  • Remove the function my_func:

unset -f {{my_func}}

See Also