how to log user commands in xterm without using "script" command
Hi.
I need to log the commands a user is typing in the xterm. I can't use the script command since it collects also non printable data and so I get a lot of junk in the log file. the internal option of logging from the xterm (-lf) is disabled so I can't use that as well. Does anyone know of a different tool to log commands or how to clean the output of script easily? Thanks, Lilach |
Code:
cat $HOME/.bash_history |
Thanks for the suggestion but...
If they used bash I had no problem with the "script" command as well. The problem is with tcsh. In any case I am looking for something that can be started and stopped. The history file can contain too much data or not enough. Any other suggestions? |
All times are GMT -5. The time now is 05:40 AM. |