Update README.md
This commit is contained in:
@@ -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