CmdID

CmdID / Commands

envsubst

Substitute environment variables with their value in shell format strings. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Substitute environment variables with their value in shell format strings. Variables to be replaced should be in either ${var} or $var format.

Replace environment variables in stdin and output to stdout

echo '$HOME' | envsubstIdentify

Replace environment variables in an input file and output to stdout

envsubst <path/to/input_fileIdentify

Replace environment variables in an input file and output to a file

envsubst <path/to/input_file >path/to/output_fileIdentify

Replace environment variables in an input file from a space-separated list

envsubst <path/to/input_file '$USER $SHELL $HOME'Identify