Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Run command with a single environment variable configured
- ```console
- $ <KEY>=<VALUE> <command ...>
- ```
- # Run command with multiple environment variables configured
- ```console
- $ env <KEY1>=<VALUE1> <KEY2>=<VALUE2> [<KEY3>=<VALUE3> [...]] <command ...>
- ```
- Works in Linux, BSD, MINIX, ...
- That should save some setup scripts and polluting the shell session with (potentially sensitive) exported variables!
Add Comment
Please, Sign In to add comment