mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-01-06 00:45:38 +03:00
e4114fa6cc
Fixes #310 Some files had no newlines, some had 1 newline and some more than 1 newline. Normalize them all to have only 1 newline at the end of all files.
20 lines
340 B
Markdown
20 lines
340 B
Markdown
# env
|
|
|
|
> Show the environment or run a program in a modified environment
|
|
|
|
- Show the environment
|
|
|
|
`env`
|
|
|
|
- Clear the environment and run a program
|
|
|
|
`env -i {{program}}`
|
|
|
|
- Remove variable from the environment and run a program
|
|
|
|
`env -u {{variable}} {{program}}`
|
|
|
|
- Set a variable and run a program
|
|
|
|
`env {{variable}}={{value}} {{program}}`
|