About
To execute a command in a script
- command substitution with:
- $( ) in a subshell
- backticks `` in the same shell
- Eval from a string in a subshell
- xargs from standard input
See also: Script Execution
List
$(expression)
You can execute an expression inside an input with $(expression). See Subshell
echo $(date +"%Y%m%d")
20161027
xargs
Xargs execute commands from standard input.
Others
See also:
