在 gnome-terminal 下可以在终端输入命令:
#gnome-terminal -x bash -c "echo \"haha\";read"
实现打开新终端在上面显示 hello,并等待任意键退出。
宝慕林4294392
相关分类