I want to know how to clear all variables which I defined in command prompt without closing terminal ?
for example, if I set a variable in command prompt as:
$ a=1
now I want to delete the variable $a (and many other variables defined in similar way) without closing terminal. I could use unset but it will be hectic if there are large no. of variables