tldr/pages/linux/unset.md

166 B

unset

Remove shell variables or functions.

  • Remove the variables foo and bar:

unset {{foo}} {{bar}}

  • Remove the function my_func:

unset -f {{my_func}}