Skip to main content

Remove shell variables or functions.

# To remove the variables foo and bar:
unset <foo> <bar>

# To remove the function my_func:
unset -f <my_func>