Update README.md
This commit is contained in:
1 parent
ca02aa1da6
commit
f52de3c602
1 file changed
+3
-3
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```bash
|
```bash
|
||||||
./getenv
|
getenv
|
||||||
MY_VARIABLE=SOMEVALUE
|
MY_VARIABLE=SOMEVALUE
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -12,10 +12,10 @@ MY_VARIABLE=SOMEVALUE
|
|||||||
Export all metadata attributes as ENV variables for current shell session and store them in /etc/environment for future sessions:
|
Export all metadata attributes as ENV variables for current shell session and store them in /etc/environment for future sessions:
|
||||||
```bash
|
```bash
|
||||||
export $(./getenv)
|
export $(./getenv)
|
||||||
./getenv 1>> /etc/environment
|
getenv 1>> /etc/environment
|
||||||
```
|
```
|
||||||
or
|
or
|
||||||
```bash
|
```bash
|
||||||
./getenv 1>> /etc/environment
|
getenv 1>> /etc/environment
|
||||||
source /etc/environment
|
source /etc/environment
|
||||||
```
|
```
|
||||||
Reference in new issue
Block a user