Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux source env file

# export.sh .env

set -a # export all variables created next
source $1
set +a # stop exporting
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #linux #source #env #file
ADD COMMENT
Topic
Name
8+2 =