Command substitution

A shell expansion that replaces $(command) with the command's standard output after removing trailing newlines.

Also known as subshell substitution, 命令代换

Used in