aboutsummaryrefslogtreecommitdiff
path: root/man/env.md
blob: bf142b46e6140e3f4e150b5fd7e9b66cef53af71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# env

Read and write the environment of a process.

## Usage

Read the current environment
```
$ env
```

Run a new process under a new environment
```
$ env -f file command [args...]
```


## Notices

If you run a command under the new environment, the environment is only
**changed** not reset. So the variables which are not touched by the file
stay the same.