env (target)
Set the environment for command invocation (POSIX, toybox)
Syntax:
env [-0i] [-u name] [name=value...] [command...]
Runs on:
QNX OS
Options:
- -0
- Use NULL instead of newline in output.
- -i
- Clear existing environment.
- -u name
- Remove name from the environment.
- command
- A command to be invoked.
- name=value
- Set the environment variable name to value and add it to the environment.
Description:
The env utility obtains the current environment, modifies it according to its arguments, and executes command with the modified environment. If no command is specified, the resulting environment is displayed.
This utility is provided as part of the toybox package. For information on how to enable it, see toybox.
Contributing author:
Rob Landley and the toybox project (see https://landley.net/toybox/).
Page updated: