LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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
 
Thread Tools
Old 10-29-2008, 02:56 AM   #1
jackandking
Member
 
Registered: Dec 2004
Posts: 92
Thanked: 0
how to save display history of xterm


[Log in to get rid of this advertisement]
I start a xterm to do some job, when i finish, is there a way to store all the screen display history of that xterm automatically?
jackandking is offline     Reply With Quote
Old 10-29-2008, 05:04 AM   #2
druuna
Senior Member
 
Registered: Sep 2003
Location: netherlands
Distribution: lfs
Posts: 3,269
Thanked: 78
Hi,

To my knowledge you cannot do this 'after the fact' (not counting copy/paste of the screen by hand).

You could take a look at the script command. This from its manpage:
Quote:
Script makes a typescript of everything printed on your terminal. It is
useful for students who need a hardcopy record of an interactive session
as proof of an assignment, as the typescript file can be printed out
later with lpr(1).
In general it is used like this: script -c <command> <outfile>, but do take a look at the manpage.

Hope this helps.
druuna is offline     Reply With Quote
Old 11-03-2008, 02:09 AM   #3
jackandking
Member
 
Registered: Dec 2004
Posts: 92
Thanked: 0

Original Poster
thanks for your reply.

i found "screen" may solve my problem too.
jackandking is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Save history command in another file jsantosh_d Linux - Newbie 3 10-29-2008 03:01 AM
xterm -display remote:0.0 Can't open display - xterm from tru64 to debian 3.1 loopy69 Linux - Software 2 04-01-2008 07:54 PM
how to save bash history between reboots? Kropotkin *BSD 1 01-16-2007 04:28 PM
save history from konqueror steelheat Linux - Desktop 1 09-10-2006 10:11 AM
Where does KDE's run command save history? ljubak Linux - Desktop 1 08-28-2006 05:21 PM


All times are GMT -5. The time now is 12:56 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration