How to embed the output of a command into a bash script.

Embedding the output of a command into a bash shell script is quite easy. Here is an example. echo "Hello $(whoami), the date is $(date -u). Have a nice day"echo "Hello $(whoami), the date is $(date -u). Have a nice day" This is the output this will give you. ┌─[jason@neo]─[~] └──╼ $echo "Hello $(whoami), the … Read more