how to save environment variables ubuntu

Shell
https://askubuntu.com/questions/58814/how-do-i-add-environment-variables
Source

Also in Shell: