shell use command output as string code example
Example: shell use command output as string
# you can use "$(command)" to use the output of the evaluation of command as string :
echo "Lorem $(date +"%d.%m.%y") Ipsum"
#>Lorem 17.02.21 Ipsum
# you can use "$(command)" to use the output of the evaluation of command as string :
echo "Lorem $(date +"%d.%m.%y") Ipsum"
#>Lorem 17.02.21 Ipsum