shortcut command to store variable value into temporary file