How do I list all variables in Linux?

Đức Linh

New member
How do I list all variables in Linux?
Answer
You can use any one of the following command to display and list the shell environment variables and their values. The printenv command list the values of the specified environment VARIABLE(s). If no VARIABLE is given, print name and value pairs for them all. printenv command – Print all or part of environment.
 

Tìm kiếm

Back
Top