On Sat, 2 Jan 1999, Ronald V. Vazquez wrote:
 
> Hello everybody:
> 
<SNIP question I don't know answer to>
> Is there a way to capture a screen dump into a file? When I dmesg I
> can't read the screen fast enough.  Where does everything goes?  Thanks
> a lot, Ronald.

For any command foo, you can do:

        foo > bar       Puts the output of foo in file bar, overwriting
                        anything that was there before

        foo >> bar      Append the output of foo to the end of bar

        foo | bar       The output of foo will be the input of bar

One useful command you can pipe to is more (or it's close relative less).
dmesg | more will let you scroll through dmesg by hitting space.  man more
and man less has more information.  Your logfiles should be in /var/log.
/var/log/dmesg is the startup logfile, and /var/log/messages is the
primary system log.  HTH, HAND.

-- 
Matthew Sachs
[EMAIL PROTECTED]
-- random fortune quote --
There are no games on this system.

Reply via email to