Created
May 2, 2022 07:21
-
-
Save rellfy/ecffcc0ae3670d41ea9d0f5f90963cd4 to your computer and use it in GitHub Desktop.
Start program with environment variables from file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -o allexport | |
source /root/.env | |
set +o allexport | |
/root/program |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment