Load .env file in Bash
There is an easy way to load an .env
file in #bash. Let’s have example .env
file:
then you can read this file in #bash like this:
Warning: All existing variables are overridden by .env
content.
There is an easy way to load an .env
file in #bash. Let’s have example .env
file:
then you can read this file in #bash like this:
Warning: All existing variables are overridden by .env
content.