Hi all,
Prob solved. I had to do an extra shell exit as I was still in the spawned shell from script. Once I exited (twice?) the file typescript did indeed have the output of apt-get. I will have to be careful what level of shell I am in.
Michael Lake wrote:
Am having some problems in running script to get a transcript of an apt-get upgrade.
The version of script on the Intel machine does not support the -c option so I have been doing this:
$ script
Script started, file is typescript
[EMAIL PROTECTED]:~$ sudo apt-get update
Hit http://mirror.pacific.net.au stable/main Packages
Hit http://mirror.pacific.net.au stable/main Release
Building Dependency Tree... Done
[EMAIL PROTECTED]:~$ exit
Script done, file is typescript
[EMAIL PROTECTED]:~$ cat typescript [EMAIL PROTECTED]:~$ exit Script done on Mon May 31 17:38:02 2004 [EMAIL PROTECTED]:~$
The typescript file is empty. So how does one use it? Do I have to do some redirect or something?
-- Michael Lake Chemistry, Materials & Forensic Science, UTS Ph: 9514 1724 Fx: 9514 1460
-- UTS CRICOS Provider Code: 00099F DISCLAIMER: This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views the University of Technology Sydney. Before opening any attachments, please check them for viruses and defects. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
