Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux source env file


export $(xargs < .env)

# Explanation
# When we have a .env file like this:

key=val
foo=bar
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #linux #source #env #file
ADD COMMENT
Topic
Name
5+6 =