LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-07-2005, 10:54 PM   #1
tryangle
Member
 
Registered: Feb 2003
Location: Penns Woods
Distribution: RedHat OpenSuse Ubuntu Mepis
Posts: 34

Rep: Reputation: 15
Unhappy Copy output of Terminal Buffer


I did an update using Synaptic and some errors showed up, so I thought it would be a good idea to save the terminal buffer output to a file. But first I checked my system using grep -r "Preconfiguring packages" * to see if the file was already there somewhere, but was unable to find it. I tried to copy and paste the contents, but was unable to copy the output to the clipboard. I searched Google on this, but haven't found an answer. I did, however, learn that I can read what scrolls by in the terminal buffer by pressing shift page up and page down. I also searched the forum here and found 6 results for terminal buffer... but none of them had any info on copying the terminal buffer output. I guess there is no file because it was just echoed... but is there a way to copy this info besides typing it out in a text editor? Is there a way to > logfile.log for upgrades using synaptic?

TIA for any suggestions,
tryangle
 
Old 08-08-2005, 02:24 AM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Don't know about Synaptic, but you can log the output of any command on the command line using the tee utility. For example,
Code:
apt-get dist-upgrade | tee /tmp/apt.log
will copy the output of "apt-get dist-upgrade" to /tmp/apt.log .

In general, you can copy text to the clipboard by dragging your mouse with the left button pressed. Then you can paste the highlighted text in another terminal or application by pressing the middle mouse button. This doesn't work in all applications, though.

Last edited by Dead Parrot; 08-08-2005 at 02:25 AM.
 
Old 08-08-2005, 04:09 PM   #3
tryangle
Member
 
Registered: Feb 2003
Location: Penns Woods
Distribution: RedHat OpenSuse Ubuntu Mepis
Posts: 34

Original Poster
Rep: Reputation: 15
Smile

That middle mouse button rocks and scrolls... w00t!
 
  


Reply



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
Redirect terminal output to file AND terminal shan Linux - General 3 09-29-2006 08:36 AM
trying to copy the output of /sbin/lspci to another window interndan Slackware 9 11-18-2005 04:24 AM
Copy from DVD - Input/Output error nifflerX Linux - General 2 10-12-2005 02:32 PM
Copy images from terminal ThePenguin Linux - Newbie 2 09-05-2004 12:54 PM
Keyboard output buffer Majestros Linux - Hardware 0 07-06-2004 09:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:50 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
Open Source Consulting | Domain Registration