...
From a command line, inspect the current environment variables with:
Code Block | ||
---|---|---|
| ||
env | sort |
with env | sort
and choose one, for example HOST, which provides the name of the machine you are working on. In a macro, get the value of this variable using the getenv()
function. For example:
...