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” This is the output this will give you. ┌─[[email protected]]─[~] └──╼ $echo “Hello $(whoami), the date is $(date -u). Have a nice day.” Hello jason, the …