linux view environment variables
printenv
linux source env file
# allows you to have empty lines for better readability
eval $(cat .env | sed 's/^/export /')
# Here is another sed solution, which does not run eval or require ruby:
source <(sed -E -n 's/[^#]+/export &/ p' ~/.env)
# .env contents
A=1
#B=2
# sample run
$ sed -E -n 's/[^#]+/export &/ p' ~/.env
export A=1
#export B=2
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us