Guest User

Untitled

a guest
Nov 21st, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. # Run command with a single environment variable configured
  2.  
  3. ```console
  4. $ <KEY>=<VALUE> <command ...>
  5. ```
  6.  
  7. # Run command with multiple environment variables configured
  8.  
  9. ```console
  10. $ env <KEY1>=<VALUE1> <KEY2>=<VALUE2> [<KEY3>=<VALUE3> [...]] <command ...>
  11. ```
  12.  
  13. Works in Linux, BSD, MINIX, ...
  14.  
  15. That should save some setup scripts and polluting the shell session with (potentially sensitive) exported variables!
Add Comment
Please, Sign In to add comment