LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-11-2004, 05:52 AM   #1
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
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
 
Old 12-11-2004, 05:58 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392Reputation: 2392
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.
 
Old 12-11-2004, 11:11 AM   #3
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
History?
 
Old 12-12-2004, 06:49 AM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Original Poster
Rep: Reputation: 46
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where is the logging of the Public File Server? barghota Mandriva 2 07-15-2005 11:27 AM
BIND - logging file not found buskmann Linux - Networking 5 05-02-2005 11:33 AM
File Access Logging dman65 Linux - General 3 04-08-2005 01:12 PM
4 second freeze on keystroke when logging into kde 3.3 on debian striderstrahan Linux - Software 1 09-07-2004 06:18 AM
Help with Logging to a file jester_69 Linux - General 3 06-21-2002 08:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration