Shell command how to open multiple terminals

The

scenario is that I want to open two terminals in a shell script to see both A log and B log at the same time.

Mar.24,2021

can be found. Baidu keyword "linux shell commands to open multiple terminals"
such as this article: https://www.aliyun.com/jiaoch.

the answer is to use the instruction: gnome-terminal-x bash-c "Command string to be executed"
for example: gnome-terminal-x bash-c "cd ~; cd Desktop"


command + N


shell cannot open the terminal window. You need to create a new one manually


you can try tmux

.
Menu