shell 在终端中打开另一个终端执行命令

gnome-terminal -x bash -c "/home/XX/cc.sh; exec bash"

 

posted @ 2018-11-29 16:18  骨灰盒少女  阅读(2429)  评论(0编辑  收藏  举报