---

How To Set Environment Variable in Bash

As a system administrator, you probably know how important environment variables are in Bash. Environment variables are used to define variables that will have an impact on how programs will run. In Bash, environment variables define many different things : your default editor, your current username or the current timezone.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis