How to open a new Terminal with shell prompt and running multiple commands in Command Line?

user224082

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 ?

user224082

Syntax is :

gnome-terminal -x bash -c "[COMMAND 1]; [COMMAND 2]; exec $SHELL"

Got from these articles: unix.stackexchange,stackoverflow.com and tested.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to open a new Terminal with shell prompt and running multiple commands in Command Line?

From Dev

How do I open a new command line window from an sh script and then pass in multiple commands

From Dev

PHP - How to keep a Command Shell open for executing multiple commands?

From Dev

How to run shell command in background with multiple commands in one line

From Java

Running multiple commands in one line in shell

From Dev

How to open a command line terminal and execute some commands inside robot framework testcase?

From Dev

On macOS, how do we remove the past commands history from Terminal > Shell > New Command?

From Dev

Command Prompt - Shell, Terminal, Console?

From Dev

How can we open minicom from current terminal and pass multiple commands to execute and exit to 1st terminal using shell script

From Dev

How to show a running clock in terminal before the command prompt

From Dev

How to show a running clock in terminal before the command prompt

From Dev

Closing terminal which are not running commands without a prompt

From Dev

What is the command structure to open a new terminal and execute the given set on commands on this new terminal?

From Dev

How to know where terminal name (command line prompt) come from?

From Dev

How can we change a multiple running command line arguments in Linux terminal?

From Dev

How to execute the multiple commands with && operator in new lines(not all in single line) :shell script

From Dev

How to open a shell command prompt inside Visual Studio Code?

From Dev

How to pass commands into the shell opened in new Windows Terminal

From Dev

New line after the command prompt

From Dev

How to open a new tab in the server command line?

From Dev

How to open a new tab in the server command line?

From Dev

Typing multiple line commands in the Terminal

From Dev

How to have terminal open when running shell script?

From Dev

How to open Command Prompt from Command Prompt

From Dev

Running multiple shell commands with wildcards

From Dev

How to make bash put prompt on a new line after cat command?

From Dev

shell prompt to fire multiple commands using jsch

From Dev

How to execute multiple commands after opening a new terminal tab

From Dev

How to execute multiple commands after opening a new terminal tab

Related Related

  1. 1

    How to open a new Terminal with shell prompt and running multiple commands in Command Line?

  2. 2

    How do I open a new command line window from an sh script and then pass in multiple commands

  3. 3

    PHP - How to keep a Command Shell open for executing multiple commands?

  4. 4

    How to run shell command in background with multiple commands in one line

  5. 5

    Running multiple commands in one line in shell

  6. 6

    How to open a command line terminal and execute some commands inside robot framework testcase?

  7. 7

    On macOS, how do we remove the past commands history from Terminal > Shell > New Command?

  8. 8

    Command Prompt - Shell, Terminal, Console?

  9. 9

    How can we open minicom from current terminal and pass multiple commands to execute and exit to 1st terminal using shell script

  10. 10

    How to show a running clock in terminal before the command prompt

  11. 11

    How to show a running clock in terminal before the command prompt

  12. 12

    Closing terminal which are not running commands without a prompt

  13. 13

    What is the command structure to open a new terminal and execute the given set on commands on this new terminal?

  14. 14

    How to know where terminal name (command line prompt) come from?

  15. 15

    How can we change a multiple running command line arguments in Linux terminal?

  16. 16

    How to execute the multiple commands with && operator in new lines(not all in single line) :shell script

  17. 17

    How to open a shell command prompt inside Visual Studio Code?

  18. 18

    How to pass commands into the shell opened in new Windows Terminal

  19. 19

    New line after the command prompt

  20. 20

    How to open a new tab in the server command line?

  21. 21

    How to open a new tab in the server command line?

  22. 22

    Typing multiple line commands in the Terminal

  23. 23

    How to have terminal open when running shell script?

  24. 24

    How to open Command Prompt from Command Prompt

  25. 25

    Running multiple shell commands with wildcards

  26. 26

    How to make bash put prompt on a new line after cat command?

  27. 27

    shell prompt to fire multiple commands using jsch

  28. 28

    How to execute multiple commands after opening a new terminal tab

  29. 29

    How to execute multiple commands after opening a new terminal tab

HotTag

Archive