How do you display variables in Linux?

Như Quỳnh

New member
How do you display variables in Linux?
Answer
Linux List All Environment Variables Command
  1. printenv command – Print all or part of environment.
  2. env command – Display all exported environment or run a program in a modified environment.
  3. set command – List the name and value of each shell variable.
 

Tìm kiếm

Back
Top