This should work
export $(cat .env | xargs)
But not all time namely if it includes some comments and you are running it with sh (not bash)
Then, mitigate this issue by using instead:
export $(cat .env | sed 's@#.*@@'| tr -d '' | xargs)
This should work
export $(cat .env | xargs)
But not all time namely if it includes some comments and you are running it with sh (not bash)
Then, mitigate this issue by using instead:
export $(cat .env | sed 's@#.*@@'| tr -d '' | xargs)
For further actions, you may consider blocking this person and/or reporting abuse
GetVM -
Java para Iniciantes (Oracle) -
Java para Iniciantes (Oracle) -
Pranav Bakare -
Top comments (0)