CodePudding user response:
1. You can define system environment, the current shell under the process of environment variables,2. The definition by editing a configuration file:
For the login shell type:
The/etc/profile
For the login shell type:
~/.bashrc