While I was going through a tutorial, I saw $() being used in a Linux Shell command and wasn’t sure what it did. $() is a command substitution It turns out, $() is called a command substitution. The command in between $() or backticks (“) is run and the output replaces $(). It can also…