2

When I use terminal on OSX, I normally have console terminal open with a number of different tabs. In one of those tabs I have a localhost server and in another tab I have a different localhost server. I have saved this window configuration as a windows group that is reopened when I restart terminal, say upon rebooting.

When I restart terminal, I want the two tabs with servers in them to restart the servers.

How do I do this?

2
  • 3
    Can you give some more detail on exactly what you are trying to do? – Thomas Nelson Aug 6 '19 at 0:09
  • I have added some more information to the question. – Obromios Aug 7 '19 at 1:45
4

This may help you. Go to Preferences under the Terminal menu and a panel opens. Click on the Profiles icon on the top left of the panel. This opens a new panel as shown below.

enter image description here

Click on the shell tab at the top of the new panel. The first item, as shown in the image, is where you can define a command or commands to run when the tab is opened.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .