Spring Into Linux

Displays a list of environmental variables. You can specify an environmental variable in the command to set the variable.

Format: env variablename=value Examples: env env HISTSIZE=100

The env command alone displays a list of environmental variables and their values. The second example sets HISTSIZE to 100.

Opt

What It Does

Example

-u

unset an environmental variable

env -u HISTSIZE

    Категории