📌  相关文章
📜  shell 使用命令输出作为字符串 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:18.696000             🧑  作者: Mango

代码示例1
# 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