I added an environment variable to /etc/environment like this:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
ENVIRONMENT_TYPE="test"
But it show empty when i try to "echo $ENVIRONMENT_TYPE", echoing out the PATH variables displays correctly. Why is my new variable not showing?
after adding the values just execute:
source /etc/environment
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments