TecAdmin published a tutorial about set/create environment and shell variables in Linux.
How To Set/Create Environment and Shell variables in Linux
Shell, the command interpreter of an OS, processes the commands entered into the command line and widely used in Linux. A variable is like a pointer to a particular data and holds a particular value that could be anything. A user can create, delete or assign variables with the help of Shell.