LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 07-31-2006, 09:30 PM   #1
AmphetaminePhreak
Member
 
Registered: Jul 2006
Location: kinda transient right now. Utah is Home, staying in Ohio
Distribution: Mandrake 9.1/Windows XP
Posts: 46

Rep: Reputation: 15
about typescript


some files have recently been put in my home directory that i cannot explain. one of them is a file called typescript. i researched it, and it appears that it's a log for a shellscript that records keystrokes within a console session. since i did not manually created any script of the sort, does that mean someone outside put it there or might a program have created for some purpose of use? i looked in the supposed log file called "typescript" and didn't find much, just a timestamp for creation and ending of the script and location within the network and directory the script was written on. could the type record of the session have been moved somewhere else or deleted alltogether?
 
Old 08-01-2006, 04:09 AM   #2
Dr_P_Ross
Member
 
Registered: Nov 2003
Location: Edinburgh, UK
Distribution: Mandriva
Posts: 32

Rep: Reputation: 17
As you say, the file "typescript" was most probably created by the script command, which is used to keep a copy of an interactive session. One can sometimes run this by accident, by typing script at the prompt. If you are worried
that the script command is being started by some other script, you can always use the lsof command to look at the open files and get details abot hwo they were started. For example:

lsof | less

and then search for script in this output, to find either /usr/bin/script (the command itself) or typescript (the log file).
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 09:20 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration