Forrest logo
back to context overview

unset

List of commands for unset:

  • unset:tldr:362b1 unset: Remove the variables foo and bar.
    $ unset -v ${foo} ${bar}
    try on your machine
    explain this command
  • unset:tldr:4c9bc unset: Remove the function my_func.
    $ unset -f ${my_func}
    try on your machine
    explain this command
  • unset:tldr:b5e67 unset: Remove the variable `foo`, or if the variable doesn't exist, remove the function `foo`.
    $ unset ${foo}
    try on your machine
    explain this command
back to context overview