Shell执行文本文件中的命令

执行文本文件中的shell 命令

eval $(cat mytxt.txt)

或者 eval  `cat mytxt.txt`

猜你喜欢

转载自blog.csdn.net/aa1382525/article/details/84027072
今日推荐