Questions about shell command substitution (such as $(command) or `command`), its mechanism, correct syntax etc. Not to be confused with aliasing.

Command substitution is a facility that allows a command to be run and its output to be pasted back on the command line as arguments to another command.


vi `fgrep -l malloc *.c`
vi $(fgrep -l malloc *.c)

Read more:

history | excerpt history