From 8166812c3c3c2c5507e346acda1fba95ba857b19 Mon Sep 17 00:00:00 2001 From: miguel Date: Thu, 22 Dec 2022 15:14:16 +0000 Subject: [PATCH] docs(set-internal-vars): add hints --- subjects/devops/set-internal-vars/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/subjects/devops/set-internal-vars/README.md b/subjects/devops/set-internal-vars/README.md index 34f91aec2..1c65fc051 100644 --- a/subjects/devops/set-internal-vars/README.md +++ b/subjects/devops/set-internal-vars/README.md @@ -28,5 +28,19 @@ Variables can be created either at the shell or in shell-scripts. Any variable c `=` +If we type the `set` command without any additional parameters, we will get a list of all shell variables, environmental variables, local variables, and shell functions. + +Use the `unset` command to remove a variable from your shell environment. + +```console +$ MyVar=8472 +$ echo $MyVar +8472 +$ unset MyVar +$ echo $MyVar + +$ +``` + > You have to use Man or Google to know more about commands flags, in order to solve this exercise! > Google and Man will be your friends!