Linux setenv Command

Linux 命令大全Linux Command Collection

The Linux setenv command is used to query or display environment variables.

setenv is an instruction in tcsh for querying or setting environment variables.

Syntax

setenv [变量名称][变量值]

Examples

Display environment variables

setenv

Set environment variables

# setenv USER lx138

Linux 命令大全Linux Command Collection

Other Extensions