If we no longer need the function in the shell, then we use the following command:
$ unset -f hello $ declare -f hello # Check the function in shell environment.
Nothing will be displayed on the screen, as the hello function is removed from the shell environment with the unset command.