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

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

猜你喜欢

转载自www.cnblogs.com/tiandsp/p/11134012.html
今日推荐