env (display and set environmental variables)

team bbl


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


    team bbl



    Spring Into Linux
    Spring Into Linux
    ISBN: 0131853546
    EAN: 2147483647
    Year: 2005
    Pages: 362
    Authors: Janet Valade

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net