[olug] Unix Tip: RECORDING WITH SCRIPT
Unix Guru Universe
listserv at ugu.com
Mon Dec 30 18:57:29 UTC 2002
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
UNIX GURU UNIVERSE
UNIX HOT TIP
Unix Tip 2190 - December 30, 2002
http://www.ugu.com/sui/ugu/show?tip.today
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
RECORDING WITH SCRIPT
At the times of doing some
installation, it is often
required to have the log of
all the commands you gave
and the output appeared on
the screen. If the software
you are installing make the
log it is OK otherwise you
loose all. The situation
is worst when something
doesn't work and you are not
able to find out what went
wrong at the time of
installation. There is a good
command which puts all the
containts of a terminal
window in a file.
% script
Script started, file is typescript
So this logs all the
activities in the file
typescript. Anytime you can
press ctrl-d and the file
will come to an end.
This tip generously supported by: ashish.jain at st.com
--------------------------------------------------------------------------
To Subscribe: http://www.ugu.com/sui/ugu/show?tip.subscribe
To Unsubscribe: http://www.ugu.com/sui/ugu/show?tip.unsubscribe
To Submit A Tip: http://www.ugu.com/sui/ugu/show?tip.today
==========================================================================
DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX GURU UNIVERSE AND ARE
NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN CONSENT OF THE UNIX
GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK". UGU ADVISES THAT
ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT ENVIRONMENT FIRST.
Unix Guru Universe - www.ugu.com - tips at ugu.com - Copyright 1994-2001
==========================================================================
More information about the OLUG
mailing list