The "tee" means the output goes to both file and screen.   Either should
work for getting the log file.

Jeff
On May 10, 2015 9:50 PM, "David Rysdam" <da...@rysdam.org> wrote:

> Jeffry Smith <jsm...@alum.mit.edu> writes:
> >> Joshua Judson Rosen <roz...@hackerposse.com> writes:
> >> > Can you run "apt-get install -f 2>&1 | tee apt-errors.log"
> >>
> >> OT, but why not just:
> >>
> >>     apt-get install > apt-errors.log 2>&1
> >>
> > The -f flag tells apt to try and fix errors.
>
> I left the -f out accidentally. I left the pipe and the tee out on
> purpose.
>
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

Reply via email to