在Shell脚本中打开新终端 [英] Opening new terminal in shell script

查看:128
本文介绍了在Shell脚本中打开新终端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在用Linux编写Shell脚本.我想在终端中运行一些sh文件,它们本身都需要终端.如何打开新的终端以运行另一个脚本?

I am writing a shell script in Linux. I want to run some sh files in terminal and they all needs terminal themselves. How can I open a new terminal to run another scrips?

推荐答案

xterm -e script arguments... &

这篇关于在Shell脚本中打开新终端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆