aboutsummaryrefslogtreecommitdiff
path: root/man/env.md
diff options
context:
space:
mode:
Diffstat (limited to 'man/env.md')
-rw-r--r--man/env.md22
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.