Opening A Terminal And Running Several Bash Commands In Orde
Hi everyone,
I am trying to make a small Bash script that can open a new terminal window and then run several commands one after another.
I have tested a few different approaches, but I have not managed to get it working properly yet. What I need is something simple where the terminal opens, the first command runs, then the next command runs after that, and so on.
For example, I would like to use it for a short sequence of commands instead of typing each one manually every time.
Is there a clean and beginner-friendly way to do this in Bash? A small working example would be very helpful.
Thanks in advance.
I am trying to make a small Bash script that can open a new terminal window and then run several commands one after another.
I have tested a few different approaches, but I have not managed to get it working properly yet. What I need is something simple where the terminal opens, the first command runs, then the next command runs after that, and so on.
For example, I would like to use it for a short sequence of commands instead of typing each one manually every time.
Is there a clean and beginner-friendly way to do this in Bash? A small working example would be very helpful.
Thanks in advance.