A shell variable forms the core of a shell script or program. The variable enables the shell program to handle and manipulate stored information. It is generally stored as a string variable.