The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 04-25-2007
Percy Percy is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 14
dependant on the terminal software that you're using, quite a few have an option somewhere that you can change to show the number of lines of 'history'
PuTTY for example.

Alternatively, if you need to interactively run a program, you could always use 'typescript'

1) type "typescript" at the prompt, then run your program.
2) everything outputted to screen now goes to a file called 'typescript' including your key inputs.
3) ctrl-d at the end to stop typescript.

Hope that makes sense, I've not explained it that clearly.