Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux 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!


  Search this Thread
Old 08-04-2003, 04:50 PM   #1
Registered: Jul 2003
Location: Texas
Distribution: Slackware 9.0
Posts: 35

Rep: Reputation: 15
Smile im bored-quick question

I was just wondering... how do i paste text from the console into one of the message boxes? For instance suppose I wanted to display the results of ifconfig eth0 for you all to see, how do I do that?

I've tried a few things, but nothing works so far
Old 08-04-2003, 05:10 PM   #2
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
You can do the normal linux copy/paste with the mouse from the x terminal to another application by left clicking and swiping the text you want in the x terminal, switch focus to the app you wish to paste into, and middle click will paste the text.

For a two button mouse, try both-click to sub for a middle click.

# Red Hat links
Red Hat Linux Manuals
Get your mp3 support here
Maximum RPM
Easier software management: apt4rpm - Red Carpet
Red Hat 8.0 Tips & Tricks

# Red Hat 7.3 down configuration commands
setup leads to several configuration tools

# Red Hat 7.3 up configuration commands
Configure soundcard:
Configure X server:
Configure network:
Manage software:

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project
Old 08-04-2003, 05:13 PM   #3
Registered: Jun 2003
Location: Tokyo
Distribution: Gentoo
Posts: 78

Rep: Reputation: 15
There is a program called script that captures the output from the shell and saves it in a file.

man script
for more info.

The simplest way is just
That will give you a file called typescript in the current directory.
Old 08-04-2003, 05:16 PM   #4
Registered: Jul 2003
Location: Texas
Distribution: Slackware 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
okay, thanx Coulda sworn I've done that, but I guess I'll give it try again after I get Slack downloaded. My RH7.3 has gone sllightly crazy on me, and I wanted to try something newer, so I'm gonna give Slackware a shot. Heard it's tough to setup, so this could get interesting
Old 08-04-2003, 08:26 PM   #5
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98

Rep: Reputation: 15
Another way to do this would be to issue the command
ifconfig eth0 > /path/file.txt

Doing this routes all the output to a text file at /path/file.txt. If the file does not exist, it will be created. Note, you will get NO output in your terminal by doing this, it will look like it didn't do anything. To demonstrate this, I'm copying the results of my ifconfig eth0 command which was saved in /root/ifconfig.txt (and I have changed the IP values/MAC address for my own protection).

eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet addr:X.X.X.X Bcast:X.X.X.X Mask:X.X.X.X
RX packets:6530 errors:0 dropped:0 overruns:0 frame:0
TX packets:6862 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3770236 (3.5 Mb) TX bytes:830364 (810.9 Kb)
Interrupt:5 Base address:0x1400
Old 08-05-2003, 09:15 PM   #6
Registered: Jul 2003
Location: Texas
Distribution: Slackware 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
What they said:
What they meant:

"You will be fortunate if you can get him to work for you."
(We certainly never succeeded.)
There is no other employee with whom I can adequately compare him.
(Well, our rats aren't really employees...)
"Success will never spoil him."
(Well, at least not MUCH more.)
"One usually comes away from him with a good feeling."
(And such a sigh of relief.)
"His dissertation is the sort of work you don't expect to see these days;
in it he has definitely demonstrated his complete capabilities."
(And his IQ, as well.)
"He should go far."
(The farther the better.)
"He will take full advantage of his staff."
(He even has one of them mowing his lawn after work.)

hahaa it works I used FancyPiper's both-click thing beacuse it looked the simplest, but thanx to everybody for helpin
Old 08-05-2003, 11:43 PM   #7
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
ctrl c and then ctrl v seems to work well too


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
Bored - need entertainment...... PenguinPwrdBox General 5 08-29-2004 04:06 AM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
Are You BORED? voodooutt General 21 12-02-2003 09:10 AM
For those of you who might be bored ! bigjohn General 6 08-25-2003 04:50 PM
Are you bored? Want to have some laugh? neo77777 General 9 12-08-2002 03:16 PM > Forums > Linux Forums > Linux - Newbie

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