1

When I type:

gnome-terminal --tab -e 'ls' --tab -e 'ls' 

Two new tabs opens in a new terminal window with the 'ls' results, but the prompt is not displayed and no more useless. I want to continue working in these tabs normally.

Can you help me? :)

gnome-terminal-tabs

2

1 Answer 1

3

Try this:

gnome-terminal --tab -e 'ls; exec bash' 

Or

gnome-terminal --tab -e 'bash -c "ls; exec bash"' 
Sign up to request clarification or add additional context in comments.

1 Comment

It worked the second option. Thank you very much! :D

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.