Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux setenv command

Linux setenv command

Linux Command Reference Linux Command Reference

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

setenv is a command in tcsh for querying or setting environment variables.

Syntax

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

Example

Display environment variables

setenv

Set environment variables

# setenv USER lx138

Linux Command Reference Linux Command Reference