export

After exporting variable1, it is now an environment variable. The export command can also be used to make an environment variable upon its creation.