Answers for "shell use command output as string"

0

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
Posted by: Guest on February-16-2021

Code answers related to "shell use command output as string"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language