[kanchilug] 1D1C - unset

  • From: Dhanasekar <tkdhanasekar@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx, KanchiLUG mailing list <kanchilug@xxxxxxxxxxxxx>, ilugd@xxxxxxxxxxxxxxxxxxxx
  • Date: Sun, 30 Apr 2023 06:00:00 +0530

unset - is used to remove variables or functions.

syntax
$ unset <var-name>

$ VAR1='welcomt to linux'
$ echo $VAR1
$ unset VAR1
$ echo $VAR1

$ export ILUGC=foss
$ printenv ILUGC
$ unset ILUGC
$ printenv ILUGC



regards,
T.Dhanasekar

Other related posts:

  • » [kanchilug] 1D1C - unset - Dhanasekar