On Sat, 2018-03-03 at 11:15 -0500, bruce wrote:
Trying to figure out how to do a single line cmd (it should be
possible right??) to do a tail -5 for a list of files???

I thought I could combine find with exec/xargs and tail to generate
the list of files/tail data.. But couldn't figure out the syntax..

find /foo -name "*dog.dat ... tail -5    << obviously not correct. but
what would work?

I think the easy way is
$ find /foo -name "*dog.dat" | xargs tail -n5
or am I missing something?