Remove the variable value in memory --unset command

#answer=ind
[davsingh@noisecover-dr Scripts]$ set | grep -e "answer" -e "lastname"
answer=ind
lastname=singh

#use the unset command
[davsingh@noisecover-dr Scripts]$ unset answer
[davsingh@noisecover-dr Scripts]$ set | grep -e "answer" -e "lastname"
lastname=singh
[davsingh@noisecover-dr Scripts]$ set | grep answer
[davsingh@noisecover-dr Scripts]$

Comments

Popular posts from this blog

How to delete SEA in VIOS

More VIOS commands

Webmin configuration for LDAP