Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


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

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


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?

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

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

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

Rep: Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509Reputation: 1509
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.


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 > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration