I want to Open a new Terminal in from within terminal.
It should have Shell prompt as well as already run few commands.
How to do it ?
Syntax is :
gnome-terminal -x bash -c "[COMMAND 1]; [COMMAND 2]; exec $SHELL"
Got from these articles: unix.stackexchange,stackoverflow.com and tested.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 months ago