March 2002
Beginner
504 pages
10h 47m
English
Two additional forms of substitution are command and arithmetic substitution. Command substitution enables you to capture the output of a command, whereas arithmetic substitution enables you to perform basic integer math using the shell.
Command substitution is the mechanism by which the shell performs a given set of commands and then substitutes their output in the place of the commands. Command substitution is performed when a command is given as
`command`
Here command can be a simple command, a pipeline, or a list.
![]() | Make sure that you are using the backquote character , not the single ... |
Read now
Unlock full access