LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-22-2009, 08:51 AM   #1
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 315

Rep: Reputation: 40
Copy text from terminal to a file


Hi,

i have install slackware on my Desktop and i cannot start the X window. Therefore i'm using the dos screen or terminal to install or set up the slackware configuration.

Without Using the X window is tedious at this point when i hit error during installation and i need to go online to seek help. Therefore when my desktop terminal hits error, i have to take out my laptop, come in here and type the errors by hand while looking at my desktop monitor.

My question is how can i copy the error message when the installation hits error, so that the error message is saved into a file and i can mount my thumbdrive to copy the file from the desktop to my laptop so i can copy and paste the error message in here?

Thanks...
 
Old 05-22-2009, 09:18 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Try running 'xorgsetup' as root, that may help with Xorg not starting.

As for error messages you can dump them to a file by redirection:

Code:
command 2> file
2 stands for stderr, and this will dump any error to a file.
 
Old 05-22-2009, 10:12 AM   #3
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,465

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
If you have gpm running in your console, then you can select text from the screen, then open an editor e.g.nano and paste the selection with a middle mouse click or Shift-Insert. Then save the the 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy some text from one file to another send2rawat Linux - General 7 11-10-2010 01:15 AM
can't copy text from firefox to vi file toedoe Linux - Software 2 08-26-2007 07:23 AM
file copy by terminal manomohan Ubuntu 6 05-29-2007 09:44 PM
file copy by terminal manomohan Linux - Networking 1 05-24-2007 07:04 AM
Which light text editor can copy text from file and paste in browser? davidas Linux - Software 9 03-06-2006 11:28 AM


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