How to export environment variables defined in a file

Print Friendly, PDF & Email

Using environment variables in modern applications is very common

set -a

. ./tmp.txt

set +a

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.