diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-02-10 00:10:40 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-02-10 00:10:40 +0100 |
| commit | e9ab6b0a3ffcb69ed0868f9ec4b61e8f7ad36d85 (patch) | |
| tree | e99eddcf75128810e4afd988bf3ffacff8acf3e6 /man/env.md | |
| parent | 5b47adb57b11acb2318053d710d075d37f669f76 (diff) | |
add manuals
Diffstat (limited to 'man/env.md')
| -rw-r--r-- | man/env.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/man/env.md b/man/env.md new file mode 100644 index 0000000..bf142b4 --- /dev/null +++ b/man/env.md @@ -0,0 +1,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. |