In linux, I can open a new terminal by executing gnome-terminal
command on the existing terminal, but how can i open the new terminal with arguments? I tried gnome-terminal --command ls
but the new terminal opens and closes quickly before I can see if anything is happening there.. Any suggestions how can I do this?
Asked
Active
Viewed 317 times
2

Muhammad Omer
- 543
- 1
- 8
- 15
-
have you tried using xterm? – Next Door Engineer Jun 16 '13 at 14:33
-
ooh, actually it works with xterm, thanks – Muhammad Omer Jun 16 '13 at 14:37
2 Answers
0
You can use virtual teminal:
$openvt ( No need to install anything like xterm, it is available by default in most of linux flavour )
e.g. $openvt ls (Run the 'ls' on the next free VT)
To switch to a VT, Alt+F<1-12>

abhishek verma
- 223
- 1
- 7