Lxterminal从shell脚本打开几个选项卡
我试图在shell脚本中打开几个选项卡。在gnome终端中,它看起来像:Lxterminal从shell脚本打开几个选项卡,shell,ubuntu,terminal,Shell,Ubuntu,Terminal,我试图在shell脚本中打开几个选项卡。在gnome终端中,它看起来像: gnome-terminal \ --tab -e "bash -ic \" echo 'First tab' "; exec bash\"" \ --tab -e "bash -ic \"echo 'Second tab' "; exec bash\"" 我试图在lxterminal中执行此操作,但不起作用:( 在帮助文件中,我看到: Usage: lxterminal [Options...] - LXTerm
gnome-terminal \
--tab -e "bash -ic \" echo 'First tab' "; exec bash\"" \
--tab -e "bash -ic \"echo 'Second tab' "; exec bash\""
我试图在lxterminal中执行此操作,但不起作用:(
在帮助文件中,我看到:
Usage:
lxterminal [Options...] - LXTerminal is a terminal emulator
Options:
-e, --command=STRING Execute the argument to this option inside the terminal
--geometry=COLUMNSxROWS Set the terminal's size
-l, --loginshell Execute login shell
-t, -T, --title=,
--tabs=NAME[,NAME[,NAME[...]]] Set the terminal's title
--working-directory=DIRECTORY Set the terminal's working directory
--no-remote Do not accept or send remote commands
-v, --version Version information
只需打开选项卡,即可使用
lxterminal--tabs=“第一个选项卡”,“第二个选项卡”
但我不确定你能在他们身上执行什么
另外,通常我在任何终端仿真器的内部使用
tmux
或byobu
,用于选项卡和其他舒适的功能仅用于打开选项卡,您可以使用lxterminal--tabs=“第一个选项卡”,“第二个选项卡”
但我不确定你能在他们身上执行什么
另外,通常我在任何终端模拟器内部使用
tmux
或byobu
来设置标签和其他舒适的功能为什么这是一个离题的问题?!如何使用shell代码在LX终端中打开标签是一个很明显的问题…有人会回答我吗?为什么这是离题的问题?!如何在LX终端中打开标签是一个很明显的问题艾尔使用外壳代码…有人会回答我吗?
Usage:
lxterminal [Options...] - LXTerminal is a terminal emulator
Options:
-e, --command=STRING Execute the argument to this option inside the terminal
--geometry=COLUMNSxROWS Set the terminal's size
-l, --loginshell Execute login shell
-t, -T, --title=,
--tabs=NAME[,NAME[,NAME[...]]] Set the terminal's title
--working-directory=DIRECTORY Set the terminal's working directory
--no-remote Do not accept or send remote commands
-v, --version Version information