Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Manage multiple commands in one Terminal window UNIX
The powerful command-line 'screen' utility (see this hint for help installing screen) can handle multiple "windows" within the same screen session. It's quite like tabbed browsing in Mozilla or the way kterm works in KDE.

To create a new window you press "Ctrl-A c". To cycle forward through the list of windows use "Ctrl-A n"; backward is "Ctrl-A p", and "Ctrl-D" to terminate the screen. Assuming you have 'screen' installed, here's a quick example:
 % screen top
[Ctrl-A c]

% screen man tcsh
[Ctrl-A c]

% man screen
[Ctrl-A n] [Ctrl-A p] [Ctrl-A n] etc
[Ctrl-A n] until 'top' is onscreen
q [Ctrl-D]
[Ctrl-D] etc...
Or something along those lines. You don't need tabbed terminal apps after all. =)

Yes, this is documented in screen's man pages. But it's one huge man page and I thought maybe you'd be more inclined to read it if you knew great stuff like this are hiding there.
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[5,367 views]  

Manage multiple commands in one Terminal window | 2 comments | Create New Account
Click here to return to the 'Manage multiple commands in one Terminal window' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Not as cool but...
Authored by: Paul Burney on Apr 19, '02 10:38:18PM

If you have multiple terminal windows open, you can use Command Arrow to go the next or previous terminal window.

Actually, now that I look, there are a lot of neat little short cuts in those menus. Lots of things you miss when you just login as '>console' :-)



[ Reply to This | # ]
Not as cool but...enough for me
Authored by: mattscape on Apr 20, '02 09:45:14AM

thanks for the command-arrow hint.
Thats why I read MacOsX hints,
just to get to reminded to look for the obvious.
;-)



[ Reply to This | # ]