This question already has an answer here:
- How do I add environment variables? 3 answers
I've tryed to add environment variable in terminal:
loom@loom:~$ export DOOM=/home/loom/doom/ loom@loom:~$ echo $DOOM bash: /home/loom/doom/: Is a directory
Then I've closed terminal and reopened it. However, there isn't
$DOOM variable now. How to add environment variable via terminal?