Timeline for Unset an environment variable for one command
Current License: CC BY-SA 4.0
21 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 8 at 17:49 | history | edited | Stéphane Chazelas | CC BY-SA 4.0 |
added 64 characters in body
|
| S Oct 3, 2019 at 12:57 | history | edited | Stéphane Chazelas | CC BY-SA 4.0 |
mention standard "env -i"
|
| S Oct 3, 2019 at 12:57 | history | suggested | DanielW | CC BY-SA 4.0 |
new (?) option "env -i"
|
| Oct 3, 2019 at 12:50 | review | Suggested edits | |||
| S Oct 3, 2019 at 12:57 | |||||
| Sep 2, 2017 at 23:01 | comment | added | Stéphane Chazelas |
@Joe, try for instance env '=foo' python -c 'import os; print os.environ[""]'. I don't expect many people would want to set a variable like that.
|
|
| Sep 2, 2017 at 6:33 | comment | added | Joe | It's a separate question, but what the heck is an environment variable with an empty name and how would you ever use it - even for some sort of exploit? Wouldn't you have to write a program that reads the environment and specifically looks for something like this? | |
| Aug 29, 2017 at 12:26 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 |
deleted 1 character in body
|
| Aug 29, 2017 at 12:15 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 |
added 530 characters in body
|
| Aug 29, 2017 at 10:50 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 |
added 956 characters in body
|
| Aug 29, 2017 at 10:29 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 |
added 124 characters in body
|
| Aug 29, 2017 at 10:12 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 |
added 138 characters in body
|
| Aug 29, 2017 at 7:24 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 |
added 267 characters in body
|
| Aug 29, 2017 at 6:53 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 |
added 18 characters in body
|
| Aug 29, 2017 at 6:46 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 |
added 172 characters in body
|
| Aug 29, 2017 at 1:59 | history | edited | muru | CC BY-SA 3.0 |
added 1 character in body
|
| Aug 28, 2017 at 20:04 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 |
added 244 characters in body
|
| Aug 28, 2017 at 19:19 | vote | accept | Alexey Romanov | ||
| Aug 28, 2017 at 15:12 | history | edited | Jeff Schaller♦ | CC BY-SA 3.0 |
aligned the given variable name with the Question's variable name
|
| Aug 28, 2017 at 15:00 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 |
added 115 characters in body
|
| Aug 28, 2017 at 14:50 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 |
added 115 characters in body
|
| Aug 28, 2017 at 14:43 | history | answered | Stéphane Chazelas | CC BY-SA 3.0 |