How do you set a variable in Linux?

How do you set a variable in Linux?
Answer
d, where you will find a list of files that are used to set environment variables for the entire system.
  1. Create a new file under /etc/profile. d to store the global environment variable(s). …
  2. Open the default profile into a text editor. sudo vi /etc/profile.d/http_proxy.sh.
  3. Save your changes and exit the text editor.
 

Tìm kiếm

Back
Top