[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh



On Mon, Jun 30, 2003 at 12:27:42AM +0100, Sam Halliday wrote:
> Robert Millan wrote:
> > > i just installed GNU K3, and using the debian install instructions
> > > (http://www.debian.org/ports/hurd/hurd-cd) i got as far as step 7
> > > when it exited on ssh, with something like "/usr/bin/dpkg exited
> > > with status 1". if i run apt-get upgrade, it continually exits in
> > > the same place. has anyone else had this?
> > please post the relevant part of the error (before "/usr/bin/dpkg
> > exited..")
> 
> mmm... i'd love to, but how do i do a screen grab under gnu? in the
> meantime i'll just run `apt-get upgrade > logfile` and post the trimmed
> output of that.

well, under GNU (or any other unix-like OS), I suggest using this for
taking logs:

 foo 2>&1 | tee log

this way you catch both stdout and stderr, and are still able to interact
with the program.

(oh, and this might be bash-specific, not sure..)

-- 
Robert Millan



Reply to: