In Linux (Shell), there are two types of variable:
(1) System variables - Created and maintained by Linux itself. This type of variable defined in CAPITAL LETTERS.
(2) User defined variables (UDV) - Created and maintained by the user. This type of variable defined in lower letters.
Shell variables
var refers to the name, $var to the value - t = 100 #Sets var t to value 100 - echo ”\$t = $t” #will print: $t = 100
Remove a variable with unset var
Names begin with alpha characters and include alpha, numeric, or underscore
Thanks and Love #MyShadowbook
LIKE | COMMENT | SHARE | SUBSCRIBE
-----------------------------------------------------------------------------------------------
For all updates:
Like our Facebook page: / myshadowbook01
Follow us on Twitter: / myshadowbook
On this page of the site you can watch the video online 02. Shell Scripting Tutorial for Beginners - Using Variables and Comments with a duration of hours minute second in good quality, which was uploaded by the user MyShadowbook Programmer 29 August 2017, share the link with friends and acquaintances, this video has already been watched 21 times on youtube and it was liked by 2 viewers. Enjoy your viewing!