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

CPU speed webpage "http://www.spec.org/cpu2006/results/cint2006.html"