[CentOS] Command line logging program suggestions?

Sergey Podushkin posev at sibmail.com
Fri Jun 20 13:02:06 UTC 2008


Rob Lines wrote:
> I am looking for an app that would run from the terminal and would 
> emulate a bash shell (or pass everything to the shell) that would allow 
> me to set a log file and then record all my input and the output to the 
> screen from the commands.  As an added bonus if it would allow me to run 
> it from two terminals (or more) on the same machine and log all the 
> input and output to the same file while still displaying it on the 
> screen that would be great.  The goal being that when making changes or 
> diagnosing a problem it can sometimes become hard to tell what command 
> came when especially when you have more than one termial session open.  
> While using putty with a really large buffer helps it doesn't deal well 
> with the two terminal issue or disconnected sessions.
> Anyone know of an app like this or any suggestions that could be added 
> to my bashrc to provide the functionality?
old and mature "screen".
You can share console with anybody you want, you can log everything to 
logfile and do whatever you want, 'cause you still in plain shell.

With best regards, Sergey.

More information about the CentOS mailing list