0

I would like to tail multiple files into the same window so that they are intermingled.

When I try the following:

tail -f logA.log logB.log

I get the following:

usage: TAIL [switches] [filename]* switches: [-?] display this message [-n] display last n lines of each file (default 10) [-f filename] keep checking filename for new lines

From the way that reads, it the format should look like:

tail -f logA.log -f logB.log

But that gives the same error. I must be missing something simple.

8
  • I cannot reproduce this.
    – DavidPostill
    Mar 11, 2017 at 21:52
  • @DavidPostill Are you saying that this is working for you? With Cygwin? Mar 11, 2017 at 21:58
  • That is exactly what I mean by "I cannot reproduce this"
    – DavidPostill
    Mar 11, 2017 at 21:59
  • 1
    That's a really weird usage message. It looks like you have some other tail program ahead of the cygwin one in your $PATH
    – user240960
    Mar 11, 2017 at 22:12
  • 1
    @TylerMurry Good to see you have resolved your issue. A hint for next time: which tail would have given the game away :)
    – DavidPostill
    Mar 11, 2017 at 22:42

0

You must log in to answer this question.

Browse other questions tagged .