How to Set Environment Variables in Linux

Linux programmer’s handy information on local and global variables, and the commands needed to view those.