On 26 Aug 2002 13:34:04 GMT, gk staggered into the Black Sun and said:
Your questions have nothing to do with X. c.o.l.misc is a more
appropriate NG, so I've set followups to there.
If X is running: Click button 1, drag to select text. Press button 2Quote:> 1. How do you copy and paste the output from a shell?
to paste text. (Typically, on a wheel mouse, the left button is button
1, pressing down on the wheel is button 2, the right button is button 3,
wheel up is button 4, wheel down is button 5.)
If you're in a console and gpm is running: Same thing, but you use
button 3 to paste instead of button 2.
If you're in a console and gpm is not running: There's not a general
way to do this. If you're running your shell from within emacs, you
could... but if you were doing that, you wouldn't be asking these
questions. You can redirect the STDOUT of any command with > , like so:
fdisk -l /dev/hda > /tmp/fdisk_out.txt
...and combine STDERR with STDOUT like so:
somecommand > /tmp/somefile.txt 2>&1
...and you can filter output with grep, like so:
somecommand | grep FOO > all_the_FOOs.txt
...gives you all lines of output from somecommand that have FOO in
them, and sticks those lines in all_the_FOOs.txt .
Check the dead trees that came with your distro first. The rescueQuote:> Is there anyplace on the web that explains how to use the Rescue mode
> of Redhat 7.3?
system that ships with Redhat is a stripped-down Linux system, intended
to help you fix the problems with your larger system. As such, it
sacrifices "user-friendliness" for power and small size. If you're
having problems that you can't fix by yourself, you should go read
http://tuxedo.org/~esr/faqs/smart-questions.html , then post a good
description of the problems you're having to the appropriate NG.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL