Ubuntu命令行打开新终端并执行脚本

gnome-terminal -x bash -c "bash test.sh;exec bash;"

posted @ 2019-07-04 18:00  Dsp Tian  阅读(4718)  评论(0编辑  收藏  举报