Export environment variables without exposing them to command history
Environment file example:
1 2 |
SOME_USERNAME=username SOME_PASSWORD=password |
Export command:
1 |
$ export $(cat envfile.env | grep -v -E '#' | xargs) |
Reply