Đỗ Huyền Trang
New member
How do I permanently set an environment variable in Linux?
Answer
Setting Permanent Global Environment Variables for All Users
Answer
Setting Permanent Global Environment Variables for All Users
- Create a new file under /etc/profile. d to store the global environment variable(s). …
- Open the default profile into a text editor. sudo vi /etc/profile.d/http_proxy.sh.
- Save your changes and exit the text editor.