The Bourne shell can redirect a command’s standard output back to the shell’s own command line i.e., the command’s output can be used as an argument to another command, or it can store the command output in a shell variable. It can be done by enclosing a command in the back quote (`) or in braces(()).
Syntax:
Var=`command
`
OR
Var=$(command)