How to execute the output of a command within the current shell?

前端 未结 9 1179
渐次进展
渐次进展 2020-12-04 07:37

I\'m well aware of the source (aka .) utility, which will take the contents from a file and execute them within the current shell.

Now, I\'

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 08:14

    I think your solution is command substitution with backticks: http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_04.html

    See section 3.4.5

提交回复
热议问题