env [name=value ...] [utility]
Set environment and execute command, or print environment
Arguments
Name | Description |
---|---|
name=value ... | Set environment variables |
utility | Utility to run |
Options
Name | Description |
---|---|
-0 | End each output line with NUL, not newline |
-i, - | Start with an empty environment |
-v | Print verbose logs |
-u <name> | Remove variable from the environment |
-P <altpath> | Search the given directories for the utility, rather than the PATH |
-S <string> | Split the given string into separate arguments |