or you could just
tail -f /var/log/log.1 /var/log/log.2
On 8/2/06, Patrick R. Wade <[EMAIL PROTECTED]> wrote:
Rob Hudson wrote:
> Is there a way to tail 2 files at the same time?
>
> I remembered tee had something to do with this but it does the opposite
> of what I want -- 1 input, multiple outputs.
>
> I want multiple inputs, 1 output (filtered through tail).
What about cat?
$ cat foo bar baz | tail # yields bottom of total output
or do you mean you want multiple columns:
---------------------------------------------------------------
tail of foo in this column | tail of bar in this column | etc
for that, might try column(1) or paste(1).
--
On two occasions I have been asked [by members of Parliament!], 'Pray,
Mr. Babbage, if you put into the machine wrong figures, will the right
answers come out?' I am not able rightly to apprehend the kind of
confusion of ideas that could provoke such a question.
-- Charles Babbage
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug