LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   keystroke logging to file? (https://www.linuxquestions.org/questions/linux-software-2/keystroke-logging-to-file-265153/)

musicman_ace 12-11-2004 05:52 AM

keystroke logging to file?
 
Maybe it already exists, but is there a way to log all keystrokes to a file. The idea is that while typin commands to try and get something to work, I have a reference once I've gotten it to work correctly. I would be rebooting multiple times, so I'd likely have to either start the logging manually or by rc_script.

Thanks

druuna 12-11-2004 05:58 AM

Hi,

Take a look at script.

You do need to restart script everytime you (re)boot and need to stop the script shell before any reboot (ctrl-d).

Man script for details.

Hope this helps.

/bin/bash 12-11-2004 11:11 AM

History?

musicman_ace 12-12-2004 06:49 AM

It looks like script does what I was looking for, outputing the commands to a file for later reference. I am documenting some guides, and as I screw up and try again, I can follow along to the certian point and then break from the "history" to steer clear of the error I made on the previous attempt.

thanks for your answers


All times are GMT -5. The time now is 09:13 PM.