Essential to every programming language, variables are utilized to hold different types of data. Typically scripting languages don’t require you to declare variables so they can be set directly. In Linux Shell Scripting, a variables value is always a string whether you assign it with or without quotes. Special variables for the environment are stored by default and are called environment variables.
To view all of the environment variables related to a terminal, you can issue the “env” command.