How do I permanently set an environment variable in Linux?

How do I permanently set an environment variable in Linux?
Answer
To make permanent changes to the environment variables for all new accounts,
go to your /etc/skel files, such as .bashrc, and change the ones that are already there or enter the new ones. When you create new users, these /etc/skel files will be copied to the new user’s home directory.
 

Tìm kiếm

Back
Top