scriptfinder
Technical User
I have a unix script that uses a lot of variables. I would like to search for all the variables(I can manually find for all the variables I used but it is time consuming) and unset them at the end of the script. Help me if you know any shortcut to search and print all variables that are declared in a shell script.