Update README.md

This commit is contained in:
2022-02-14 22:08:40 +01:00
committed by GitHub
parent ca02aa1da6
commit f52de3c602

View File

@@ -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
``` ```