mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 10:42:07 +02:00
277 B
277 B
unset
Remove shell variables or functions.
- Remove the variable
foo
, or if the variable doesn't exist, remove the functionfoo
:
unset {{foo}}
- Remove the variables foo and bar:
unset -v {{foo}} {{bar}}
- Remove the function my_func:
unset -f {{my_func}}