How do I permanently remove an environment variable in Linux?

How do I permanently remove an environment variable in Linux?
Answer
To Clear these session-wide environment variables following commands can be used:
  1. Using env. By default, “env” command lists all the current environment variables. …
  2. Using unset. Another way to clear local environment variable is by using unset command. …
  3. Set the variable name to ”
23 янв. 2016 г.
 

Tìm kiếm

Back
Top