LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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: 318

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
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,350

Rep: Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739
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

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

All times are GMT -5. The time now is 12:14 AM.

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