unset
Remove shell variables or functions.
- 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}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).