unsetenv

NAME

unsetenv - remove environment variables

SYNOPSIS

unsetenv pattern

DESCRIPTION

This command is a C-shell built-in command.

The unsetenv(1) command removes all environment variables whose names match pattern. Thus, 'unsetenv *' removes all environment variables; this is not recommended. It is not an error if no environment variables are removed.