env variable setting in ubuntu code example Example: how to set environment variable in ubuntu sudo -H gedit /etc/environment