# Class: com.pnfsoftware.jeb.util.base.Env

Helper to retrieve system environment variables or, as a fallback, local environment variables provided by a Bash interactive shell \(on non\-Windows systems\).

## Static Method: get
- parameter: `name`, type: `java.lang.String`
- return type: `java.lang.String`

Description: Retrieve an environment variable. First, the system's environment is checked via [System#getenv(String)](System#getenv(String)). If no variable is found, and the user is running on a non\-Windows platform that has `Bash`, the method attempts to retrieve the variable defined by an interactive terminal session.
parameter: name: variable name
return: the value; null if the variable is not defined

## Static Method: getsafe
- parameter: `name`, type: `java.lang.String`
- return type: `java.lang.String`

Description: Retrieve an environment variable. First, the system's environment is checked via [System#getenv(String)](System#getenv(String)). If no variable is found, and the user is running on a non\-Windows platform that has `Bash`, the method attempts to retrieve the variable defined by an interactive terminal session.
parameter: name: variable name
return: the value; an empty string if the variable is not defined

