Tabbed Terminals

Device

  • Terminal

How

  1. Press Command + T to create a new tab
  2. Press Control + Tab / Control + Shift + Tab for next/previous tab in Apple Terminal
  3. Or use Window → Show Next Tab / Show Previous Tab (confirm the shortcuts listed in Terminal’s menus)
  4. Press Command + W to close the current tab
  5. Note: Command + 1–9 select windows in many Mac apps; do not assume they select Terminal tabs

Official documentation · Apple Support

Try this

Open a new tab with Command + T, then run pwd in each tab. Notice how each tab maintains its own working directory independently.

Why it works

One window, multiple contexts.

Sources
Open full demonstration ↗