Home / Programming / Bash / How to export environment variables defined in a file

How to export environment variables defined in a file

Print Friendly, PDF & Email

Using environment variables in modern applications is very common

https://unix.stackexchange.com/questions/79064/how-to-export-variables-from-a-file

https://unix.stackexchange.com/a/79084/30988

set -a

. ./tmp.txt

set +a

About Nguyen Vu Ngoc Tung

I love making new professional acquaintances. Don't hesitate to contact me via nguyenvungoctung@gmail.com if you want to talk about information technology, education, and research on complex networks analysis (i.e., metabolic networks analysis), data analysis, and applications of graph theory. Specialties: researching and proposing innovative business approaches to organizations, evaluating and consulting about usability engineering, training and employee development, web technologies, software architecture.

Leave a Reply

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

*

*

code

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