logging

Linux/Unix Console Tricks: Multiple Screens within One Console, Tailling Multiple Files with multitail

Submitted by kai on Tue, 2008-09-23 23:46. ::

I find the following Linux/Unix console tricks really handy:

Multiple screens within one console

You need to SSH into a Linux server and work with multiple screens(eg: tailing a log, vi a source file, etc). Instead of opening multiple SSH sessions(multiple putty in Windows, or terminal windows in Mac), you can open multiple screens within one console window by using "screen" command.


yum install screen
screen

Here are the shortcuts:

  • ctrl+a + ctrl+c to add a new screens
  • ctrl+a + ctrl+a to switch between screens
  • ctrl+a + " to see a list of screens
  • ctrl+a + (a number) to switch to the "numbered" screen
XML feed