Jeff Waugh wrote:
<quote who="Michael Lake">

I have been using screen to get multiple screens but I read that it can be
used to get a text dump of a session.

Sounds like script, not screen.

Perfect :-) I can now do this:

script -c 'sudo apt-get upgrade'

and it writes everything to the file 'typescript' or what ever file I want if I give a file name on the command line.

Next time I will use the 'quiet' option to apt-get which will omit the progress indicators and it'll be more suited to logging.

Thanks jeff

--
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to