morpheus-base

morpheus base system
git clone git://git.2f30.org/morpheus-base
Log | Files | Refs

env.1 (681B)


      1 .TH ENV 1 sbase\-VERSION
      2 .SH NAME
      3 env \- modify the environment, then print it or run a command.
      4 .SH SYNOPSIS
      5 .B env
      6 .RB [ \-i ]
      7 .RB [ \-u
      8 .IR name ]...
      9 .RI [ name=value ]...
     10 .RI [ cmd
     11 .RI [ arg ...]]
     12 
     13 .SH DESCRIPTION
     14 .B env
     15 removes part of the environment according to the flags, then adds or
     16 sets each variable specified by
     17 .IR name
     18 to equal
     19 .IR value .
     20 
     21 If
     22 .IR cmd
     23 is given, it is executed in this new environment; otherwise, the
     24 modified environment is printed to standard out.
     25 
     26 .SH OPTIONS
     27 .TP
     28 .B \-i
     29 Comptetely ignore the existing environment; start fresh.
     30 
     31 .TP
     32 .B \-u name
     33 Unsets
     34 .IR name
     35 from the environment.
     36 
     37 .SH SEE ALSO
     38 .IR printenv (1)
     39 .IR putenv (3)
     40 .IR environ (7)
     41