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

Webmin configuration for LDAP

Sample questions and answers for AWS Associate Solutions Architect Certification ---> AWS exam dumps