Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-31-2006, 08:30 PM   #1
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, 03:09 AM   #2
Registered: Nov 2003
Location: Edinburgh, UK
Distribution: Arch
Posts: 43

Rep: Reputation: 18
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).


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:42 AM.

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