How to query or display environment variables using the setenv command of linux
This article shows you how to use linux's setenv command to query or display environment variables. There is a certain reference value, friends in need can refer to, hope to help you.
The English full name of the setenv command is "set environment variable". This command is a command that queries or sets environment variables in tsch. You can use this command to set the value of an environment variable in a thread to pass parameters between threads.
Syntax format: setenv [parameters]
Common parameters:
The name of the environment variable to be set by ENVVAR, the value of the environment variable to be set by value
Reference example:
Display environment variables:
[root@linuxcool ~] setenv
Set the environment variable:
[root@linuxcool ~] setenv USER lx138 above is a brief introduction to how to query or display environment variables using linux's setenv command. Of course, you have to use the above differences in detail before you understand it. If you want to know more, welcome to follow the industry information channel!